Nagaraj Gopal created KAFKA-8156:
------------------------------------

             Summary: Client id when provided is not suffixed with an index
                 Key: KAFKA-8156
                 URL: https://issues.apache.org/jira/browse/KAFKA-8156
             Project: Kafka
          Issue Type: Improvement
          Components: consumer
    Affects Versions: 2.1.1
            Reporter: Nagaraj Gopal


We use Camel Kafka component and one of the configuration is consumersCount 
which is number of concurrent consumers that can read data from the topic. 
Usually we don't care about client id but when we start emitting metrics it 
becomes important piece of the puzzle. The client id would help differentiate 
metrics between different consumers each with `n` consumer count (concurrent 
consumers) and each consumer deployed in different JVMs.

Currently when client id is provided it is not suffixed with an index and when 
it is not provided the library seems to create its own client id prefixed with 
an index (format: consumer-0, consumer-1). This is limiting when we have 
multiple consumers as described above



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to