Is it possible to know the number of producers for a topic?

2019-10-10 Thread Dylan Martin
I have a situation where I should always have exactly one producer per topic, but under certain rare circumstances I can have more than one, and that's really bad when it happens, so I want to detect it. Can I know how many producer a topic has? Can I identify them? Thanks! -Dylan The infor

Re: Is it possible to know the number of producers for a topic?

2019-10-10 Thread Jörn Franke
Not sure what yo ur exact use case is? Exactly once processing? Can you describe the full pipeline ? For what you have described you could use a producer id together with the message. However , your description opens new questions - what do you plan to do in case this happens? Depending on that