Re: [DISCUSS] PIP-231: Add metric for topic load failed

2022-12-23 Thread Haiting Jiang
+1 Haiting On Mon, Dec 19, 2022 at 4:20 PM Jiuming Tao wrote: > > Hello pulsar community, > > I've opened `PIP-231: Add metric for topic load failed` to discuss. > > Motivation: > Currently, we have topic_load_times > metric

Re: [DISCUSS] PIP-231: Add metric for topic load failed

2022-12-19 Thread Jiuming Tao
Hi Asaf, > 1. When a topic fails to load, what happens exactly at that stage? Does > it switch over to another broker? Is there a retry on the current broker? There are 2 possibilities: 1. Create a new topic by CLI Tools, Admin API or Producer/Consumer auto create In this condition, if a topi

Re: [DISCUSS] PIP-231: Add metric for topic load failed

2022-12-19 Thread Asaf Mesika
I have several context-related questions: 1. When a topic fails to load, what happens exactly at that stage? Does it switch over to another broker? Is there a retry on the current broker? 2. Is there a way to provide a gauge showing how many topics are unloaded due to non-recoverable

Re: [DISCUSS] PIP-231: Add metric for topic load failed

2022-12-19 Thread PengHui Li
+1 Penghui On Mon, Dec 19, 2022 at 4:20 PM Jiuming Tao wrote: > Hello pulsar community, > > I've opened `PIP-231: Add metric for topic load failed` to discuss. > > Motivation: > Currently, we have topic_load_times > > metri

[DISCUSS] PIP-231: Add metric for topic load failed

2022-12-19 Thread Jiuming Tao
Hello pulsar community, I've opened `PIP-231: Add metric for topic load failed` to discuss. Motivation: Currently, we have topic_load_times metric to tracking how long a topic load succeed. But when loading a topic, there are