You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "deepak chaurasia (Jira)" <ji...@apache.org> on 2022/06/06 11:43:00 UTC

[jira] [Commented] (KAFKA-13948) Don't catch and re-throw exception unnecessarily

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

deepak chaurasia commented on KAFKA-13948:
------------------------------------------

hi [~christo_lolov] are you working on this? I am planning to pickup the story.

> Don't catch and re-throw exception unnecessarily
> ------------------------------------------------
>
>                 Key: KAFKA-13948
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13948
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Divij Vaidya
>            Assignee: Christo Lolov
>            Priority: Trivial
>              Labels: Newbie, Newcomer, newbie
>
> An exception is caught and re-thrown within the catch clause without any other operations being performed on the exception, making the catch clause unnecessary.
> Code should be changed here: https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java



--
This message was sent by Atlassian Jira
(v8.20.7#820007)