kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huxihx (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-5755) Refactor Producer to use LogContext
Date Mon, 21 Aug 2017 03:04:03 GMT

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

huxihx reassigned KAFKA-5755:

    Assignee: huxihx

> Refactor Producer to use LogContext
> -----------------------------------
>                 Key: KAFKA-5755
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5755
>             Project: Kafka
>          Issue Type: Improvement
>          Components: producer 
>            Reporter: Jason Gustafson
>            Assignee: huxihx
>              Labels: newbie
> 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 producer. We should always include the client id, and
if one is provided, the transactional id.

This message was sent by Atlassian JIRA

View raw message