You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "John Roesler (Jira)" <ji...@apache.org> on 2020/02/27 21:52:00 UTC

[jira] [Updated] (KAFKA-7932) Streams needs to handle new Producer exceptions

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

John Roesler updated KAFKA-7932:
--------------------------------
    Fix Version/s:     (was: 2.5.0)

> Streams needs to handle new Producer exceptions
> -----------------------------------------------
>
>                 Key: KAFKA-7932
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7932
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: John Roesler
>            Assignee: John Roesler
>            Priority: Critical
>
> Following on KAFKA-7763, Streams needs to handle the new behavior.
> See also [https://github.com/apache/kafka/pull/6066]
> Streams code (StreamTask.java) needs to be modified to handle the new exception.
> From the upstream change, `commtit/abort Transaction` can also throw TimeoutException now: default `MAX_BLOCK_MS_CONFIG` in producer is 60 seconds, so I think just wrapping it as StreamsException should be reasonable, similar to what we do for `producer#send`'s TimeoutException ([https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java#L220-L225] ).
>  
> See also [https://github.com/apache/kafka/pull/6066#issuecomment-464403448]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)