[ 
https://issues.apache.org/jira/browse/TWILL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14963177#comment-14963177
 ] 

Sanoj Mathew commented on TWILL-151:
------------------------------------

Updated the code, can you please have a look.
Thanks,
Sanoj Mathew

> Improve Logging error when fetching message after Kafka server is stopped
> -------------------------------------------------------------------------
>
>                 Key: TWILL-151
>                 URL: https://issues.apache.org/jira/browse/TWILL-151
>             Project: Apache Twill
>          Issue Type: Bug
>            Reporter: Shankar Selvam
>
> when we add LogHandler, We start a Kafka Consumer thread in Client that polls 
> Kafka Server (Started when AM Starts).
> When the AM stops, we stop the kafka server, but there can be race where we 
> make request to fetch message from the KafkaConsumer after the Kafka Server 
> is stopped. We log the stack-trace in this case and it can be confusing for 
> the user, we can improve the error logging in this case to make it cleaner.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to