[ https://issues.apache.org/jira/browse/KAFKA-12773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17349823#comment-17349823 ]
Jose Armando Garcia Sancio commented on KAFKA-12773: ---------------------------------------------------- The {{raft}} modlue may not be fully consistent on this but in general in that module we have decided to not throw the checked {{IOException}}. Up to now we have been doing this by wrapping {{IOException}} with {{RuntimeException}}. [~mumrah] suggested in a PR to use{{UncheckedIOException}}. This Jira was created to track that suggestion. If you are going to work on this, you can scan all of the code in the {{raft}} module (top level directory) and change any instance where we wrap {{IOException}} into another exception to instead use {{UncheckedIOException}}. > 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 > > Use UncheckedIOException when wrapping IOException instead of > RuntimeException. -- This message was sent by Atlassian Jira (v8.3.4#803005)