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

Terence Yim commented on TWILL-80:
----------------------------------

The root cause is found. It's because during KafkaAppender shutdown, there 
maybe publish task executing in the executor, which already constructed a list 
of messages to publish, but not yet publish. Since the publish task is executed 
in the executor thread, the shutdown thread is not waiting for the completion 
of the task but go ahead and stop the Kafka client, resulting in publish 
failure for the last batch of log.

> Logs not available when the runnable failed at initialize or only runs 
> momentarily 
> -----------------------------------------------------------------------------------
>
>                 Key: TWILL-80
>                 URL: https://issues.apache.org/jira/browse/TWILL-80
>             Project: Apache Twill
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.2.0-incubating
>            Reporter: Terence Yim
>            Assignee: Terence Yim
>             Fix For: 0.5.0-incubating
>
>
> Multiple users reported this issue. Need to investigate and fix.



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

Reply via email to