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

Refactor AdminClient to use LogContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      We added a LogContext object which automatically adds a log prefix to every message written by loggers constructed from it (much like the Logging mixin available in the server code). We use this in the consumer to ensure that messages always contain the consumer group and client ids, which is very helpful when multiple consumers are run on the same instance. We should do something similar for the AdminClient. We should always include the client id.

      Attachments

        Issue Links

          Activity

            People

              ckamal Kamal Chandraprakash
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: