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

Jose Armando Garcia Sancio commented on KAFKA-12773:
----------------------------------------------------

No KIP is required for this [~loboxu]. You can just submit a PR that changes 
the code in the {{raft}} directory.

> 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)

Reply via email to