kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-5762) Refactor AdminClient to use LogContext
Date Wed, 30 Aug 2017 11:35:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ismael Juma resolved KAFKA-5762.
    Resolution: Fixed

> Refactor AdminClient to use LogContext
> --------------------------------------
>                 Key: KAFKA-5762
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5762
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Ismael Juma
>            Assignee: Kamal Chandraprakash
> 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.

This message was sent by Atlassian JIRA

View raw message