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

Refactor AdminClient to use LogContext

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              ckamal Kamal Chandraprakash
              Reporter:
              ijuma Ismael Juma

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment