You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jeremy A. Lucas (JIRA)" <ji...@apache.org> on 2015/05/14 02:47:00 UTC
[jira] [Updated] (SPARK-7621) Report KafkaReceiver MessageHandler
errors so StreamingListeners can take action
[ https://issues.apache.org/jira/browse/SPARK-7621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy A. Lucas updated SPARK-7621:
-----------------------------------
Attachment: SPARK-7621.patch
Attached is a small patch to simply call {{reportError}} instead of {{logError}} within the MessageHandler implementations of both the KafkaReceiver and the ReliableKafkaReceiver.
> Report KafkaReceiver MessageHandler errors so StreamingListeners can take action
> --------------------------------------------------------------------------------
>
> Key: SPARK-7621
> URL: https://issues.apache.org/jira/browse/SPARK-7621
> Project: Spark
> Issue Type: Improvement
> Components: Streaming
> Affects Versions: 1.3.1
> Reporter: Jeremy A. Lucas
> Attachments: SPARK-7621.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently, when a MessageHandler (for any of the Kafka Receiver implementations) encounters an error handling a message, the error is only logged with:
> {code:none}
> case e: Exception => logError("Error handling message", e)
> {code}
> It would be _incredibly_ useful to be able to notify any registered StreamingListener of this receiver error (especially since this {{try...catch}} block masks more fatal Kafka connection exceptions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org