You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Eno Thereska (JIRA)" <ji...@apache.org> on 2017/05/23 11:43:04 UTC

[jira] [Created] (KAFKA-5313) Improve exception handling on coordinator interactions

Eno Thereska created KAFKA-5313:
-----------------------------------

             Summary: Improve exception handling on coordinator interactions
                 Key: KAFKA-5313
                 URL: https://issues.apache.org/jira/browse/KAFKA-5313
             Project: Kafka
          Issue Type: Sub-task
          Components: streams
    Affects Versions: 0.11.0.0
            Reporter: Eno Thereska
            Assignee: Eno Thereska


Exceptions during assignment of tasks are caught in ConsumerCoordinator.java and streams becomes aware of them during the StreamThread.onPartitionsAssigned() and StreamThread.onPartitionsRevoked() methods. Eventually these exceptions go through StreamThread.pollRequests() all the way up to StreamThread.runLoop() and will halt the stream thread that is processing these exceptions. Other stream threads may continue processing, however it is likely they will experience problems too soon after.

Exceptions here include LockExceptions that are thrown if tasks cannot use a particular directory due to previous tasks not releasing locks on them during reassignment. 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)