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.

Aditya

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

Hi,

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?

/Magnus

Reply via email to