kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Valiente (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4824) add unique identifier to clientId
Date Wed, 01 Mar 2017 15:18:45 GMT
Clemens Valiente created KAFKA-4824:

             Summary: add unique identifier to clientId
                 Key: KAFKA-4824
                 URL: https://issues.apache.org/jira/browse/KAFKA-4824
             Project: Kafka
          Issue Type: Improvement
          Components: consumer, streams
    Affects Versions:
            Reporter: Clemens Valiente
            Priority: Minor

As discussed with [~damianguy]
streams clientId is set to applicationId-threadId-consumer which of course wouldn’t be unique
if running multiple instances per host.

*Example use case:*
deployment as docker container on marathon so it might end up multiple times on the same host
and of course they're all running with the same configuration. All clients on the same host
would have the same clientid

Consumers running with the same client id make it hard to identify lagging consumers correctly

*Potential solution:*
Internally we do have a processId. It might make sense if we attached that to the clientId.
it would then be unique across instances

This message was sent by Atlassian JIRA

View raw message