I'd like to avoid creating messages for a topic is the topic currently has
no consumers.  Is there a way a producer can subscribe to the number of
consumers of a topic?  Or if that's not possible, can a producer request
the current number of consumers of a topic?

The searchable hadoop kafka topic didn't return anything for "no consumer"
or "zero consumers", and a find on "zero" or "count" on the documentation
html page found lots of matches, but none about knowing the number of
consumers.

I'm certain I can code a solution around this problem, but I'd hate to
reinvent the wheel for such a straightforward problem.

Todd Gatts

Reply via email to