kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Luu <manga...@gmail.com>
Subject Consumer ID requirements and usage clarification
Date Fri, 07 Dec 2018 01:23:32 GMT
Can someone clarify the usage and requirements of consumer ID when
used/specified?

I came across this topic and brought that up in a comment in the thread,
someone else suggested it being worthy of another post

https://stackoverflow.com/questions/34550873/difference-between-groupid-and-consumerid-in-kafka-consumer/34553058?noredirect=1#comment93322228_34553058

To summarize w/o going to that post/link:

Reading the documentation, for consumer.id, description states "Generated
automatically if not set." I assume this probably means if manually set,
consumer.id should be unique for each consumer? Curious to wonder what
happens if you reuse the consumer ID across consumers (like how one shares
the consumer group ID) - problems arise or it will work fine but just messy
for tracking/debugging active consumers in the group?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message