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

Expose embedded client context from KafkaStreams threadMetadata

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: streams
    • Labels:

      Description

      A KafkaStreams client today contains multiple embedded clients: producer, consumer and admin client. Currently these client's context like client id are not exposed via KafkaStreams. This ticket proposes to expose those context information at the per-thread basis (since each thread has its own embedded clients) via ThreadMetadata.

      This also has an interplay with KIP-345: as we add group.instance.id in that KIP, this information should also be exposed as well.

      Cf: https://cwiki.apache.org/confluence/display/KAFKA/KIP-414%3A+Expose+Embedded+ClientIds+in+Kafka+Streams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guozhang Guozhang Wang
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: