Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4824

add unique identifier to clientId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.10.2.0
    • None
    • consumer, streams
    • None

    Description

      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

      Problem
      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

      Attachments

        Issue Links

          Activity

            People

              cvaliente Clemens Valiente
              cvaliente Clemens Valiente
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: