Definition of payload from /druid/broker/v1/loadstatus

Hi,

When querying the endpoint /druid/broker/v1/loadstatus, the payload returned contains a single mapping inventoryInitialized : true/false.

Does anyone know what is the meaning of the item in the response?

I am also looking for a good way to run healthchecks on broker to check if it’s ready for querying. Appreciate any insights on this.

Thank you :slight_smile:

Hi kai,

/druid/broker/v1/loadstatus
Returns a flag indicating if the Broker knows about all segments in the cluster. This can be used to know when a Broker process is ready to be queried after a restart.

{"inventoryInitialized":true} : Means ,Your broker is ready to the serve the query after the restart.

Thanks and regards,

vaibhaV