kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Auradkar <aaurad...@linkedin.com.INVALID>
Subject RE: Significance of SimpleConsumer id string
Date Thu, 07 May 2015 20:15:29 GMT
A client id is used to logically identify an application. Ideally, multiple consumers belonging
to the same application should use the same client id. 

More concretely, metrics can be gathered per client and quotas in the future will be enforced
by clientId.


From: Magnus Vojbacke [magnus.vojbacke@digitalroute.com]
Sent: Thursday, May 07, 2015 4:44 AM
To: users@kafka.apache.org
Subject: Significance of SimpleConsumer id string


The kafka.consumer.SimpleConsumer takes an "id: String” constructor parameter. What is the
significance of this id? Are there any consequences or risks associated with using the exact
same id for several consumers of the same topic/partition?


View raw message