[jira] [Resolved] (KAFKA-5763) Refactor NetworkClient to use LogContext

2017-08-30 Thread Kamal Chandraprakash (JIRA)

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

Kamal Chandraprakash resolved KAFKA-5763.
-
   Resolution: Fixed
Fix Version/s: 1.0.0

[~ijuma] `ConsumerNetworkClient` has already been refactored to use the 
LogContext. Please reopen the task if it's not completed.

> Refactor NetworkClient to use LogContext
> 
>
> Key: KAFKA-5763
> URL: https://issues.apache.org/jira/browse/KAFKA-5763
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Ismael Juma
> Fix For: 1.0.0
>
>
> 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 NetworkClient. We should always include the client 
> id.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (KAFKA-5763) Refactor NetworkClient to use LogContext

2017-09-11 Thread Ismael Juma (JIRA)

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

Ismael Juma resolved KAFKA-5763.

Resolution: Fixed

> Refactor NetworkClient to use LogContext
> 
>
> Key: KAFKA-5763
> URL: https://issues.apache.org/jira/browse/KAFKA-5763
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Ismael Juma
> Fix For: 1.0.0
>
>
> 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 NetworkClient. We should always include the client 
> id.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)