Hi Enrico,

> Also, I would like to understand in which usecase you can use the
> binary endpoint and not the HTTP endpoint.

We can't use the HTTP endpoint when the client did not have the admin auth to 
do a health check. but we need it in some cases such as auto failover on the 
client-side (https://github.com/apache/pulsar/pull/13316#discussion_r773313991)

> Health Check is good for scripts and for probes, I don't expect a
> "client application" to run the HC

Adding a health check API to the client-side just to make it easier to use this 
feature, this check still works on broker.


On 2022/06/22 10:19:52 Enrico Olivelli wrote:
> I believe that this proposal is too broad.
> 
> the PIP reads about:
> - adding HEALTHCHECK to the binary protocol
> - add a HEALTHCHECK cache on the broker
> 
> Also, I would like to understand in which usecase you can use the
> binary endpoint and not the HTTP endpoint.
> 
> Health Check is good for scripts and for probes, I don't expect a
> "client application" to run the HC
> 
> Can you please illustrate some practical use cases?
> 
> Enric
> 
> Il giorno mer 8 giu 2022 alle ore 05:22 zhaocong <zhaoc...@apache.org>
> ha scritto:
> >
> > Hello Pulsar Community,
> >
> >
> > Here is a PIP to introduce the HEALTH_CHECK command in the binary protocol.
> > I look forward to your feedback.
> >
> >
> > PIP: https://github.com/apache/pulsar/issues/15859
> >
> >
> > Thanks,
> >
> > Cong Zhao
> 

Reply via email to