You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/05/22 19:49:00 UTC

[jira] [Updated] (KAFKA-12773) Use UncheckedIOException when wrapping IOException

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

Jose Armando Garcia Sancio updated KAFKA-12773:
-----------------------------------------------
    Description: The {{raft}} module may not be fully consistent on this but in general in that module we have decided to not throw the checked {{IOException}}. We have been avoiding checked {{IOException}} exceptions by wrapping them in {{RuntimeException}}. The {{raft}} module should instead wrap {{IOException}} in {{UncheckedIOException}}. This change should be limited to the {{raft}} module.  (was: Use UncheckedIOException when wrapping IOException instead of RuntimeException.)

> Use UncheckedIOException when wrapping IOException
> --------------------------------------------------
>
>                 Key: KAFKA-12773
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12773
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jose Armando Garcia Sancio
>            Assignee: loboxu
>            Priority: Major
>              Labels: kip-500, newbie
>
> The {{raft}} module may not be fully consistent on this but in general in that module we have decided to not throw the checked {{IOException}}. We have been avoiding checked {{IOException}} exceptions by wrapping them in {{RuntimeException}}. The {{raft}} module should instead wrap {{IOException}} in {{UncheckedIOException}}. This change should be limited to the {{raft}} module.



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