fjy commented on a change in pull request #8841: add readiness endpoints to 
processes having initialization delays
URL: https://github.com/apache/incubator-druid/pull/8841#discussion_r344274367
 
 

 ##########
 File path: docs/operations/api-reference.md
 ##########
 @@ -752,7 +752,11 @@ Returns segment information lists including server 
locations for the given datas
 
 * `/druid/broker/v1/loadstatus`
 
-Returns a flag indicating if the Broker knows about all segments in Zookeeper. 
This can be used to know when a Broker process is ready to be queried after a 
restart.
+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.
+
+* `/druid/broker/v1/readiness`
 
 Review comment:
   I think we should have a more general status endpoint instead of having a 
specific endpoint for 'readiness'. The status endpoint should return a JSON 
object. Otherwise, this is taking us down a path where we will have API 
endpoints for everything we want returned from Druid services and things will 
get messy and complex fast.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to