You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "José Armando García Sancio (Jira)" <ji...@apache.org> on 2022/12/14 22:16:00 UTC

[jira] [Commented] (KAFKA-14490) Consider using UncheckdIOException instead of IOException in the log layer

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

José Armando García Sancio commented on KAFKA-14490:
----------------------------------------------------

I think this is a good idea.

[~ijuma] we made that decision in the raft module. In the raft module we convert all IOException to UncheckedIOException as early in the stack as possible.

> Consider using UncheckdIOException instead of IOException in the log layer
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-14490
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14490
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Ismael Juma
>            Priority: Major
>
> IOException is a checked exception, which makes it difficult to use with lambdas. We should consider using UncheckdIOException instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)