You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/10/30 11:55:00 UTC
[jira] [Resolved] (KAFKA-2616) Improve Kakfa client exceptions
[ https://issues.apache.org/jira/browse/KAFKA-2616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma resolved KAFKA-2616.
--------------------------------
Resolution: Auto Closed
BlockingChannel is only used by the Scala clients. which are no longer supported. Please upgrade to the Java clients whenever possible.
> Improve Kakfa client exceptions
> -------------------------------
>
> Key: KAFKA-2616
> URL: https://issues.apache.org/jira/browse/KAFKA-2616
> Project: Kafka
> Issue Type: Improvement
> Components: clients
> Affects Versions: 0.8.2.1
> Reporter: Hurshal Patel
> Priority: Minor
>
> Any sort of network failure results in a {{java.nio.ClosedChannelException}} which is bubbled up from {{kafka.network.BlockingChannel}}.
> Displaying such an exception to a user with little knowledge about Kafka can be more confusing than informative. A better user experience for the Kafka consumer would be to throw a more appropriately named exception when a {{ClosedChannelException}} is encountered.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)