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 other solutions could make sense
> Am 11.10.2019 um 08:56 schrieb Dylan Martin <dmar...@istreamplanet.com>: > > 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 information contained in this email message, and any attachment thereto, > is confidential and may not be disclosed without the sender's express > permission. If you are not the intended recipient or an employee or agent > responsible for delivering this message to the intended recipient, you are > hereby notified that you have received this message in error and that any > review, dissemination, distribution or copying of this message, or any > attachment thereto, in whole or in part, is strictly prohibited. If you have > received this message in error, please immediately notify the sender by > telephone, fax or email and delete the message and all of its attachments. > Thank you.