You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2017/10/27 01:27:50 UTC
[GitHub] rdhabalia opened a new pull request #866: Make spark consumer-listener lambda Serializable
rdhabalia opened a new pull request #866: Make spark consumer-listener lambda Serializable
URL: https://github.com/apache/incubator-pulsar/pull/866
### Motivation
Spark task requires serializable and `SparkStreamingPulsarReceiver` init uses lamda for consumer-messageListener [which is not serializable](https://stackoverflow.com/questions/31697881/apache-spark-lambda-expression-serialization-issue).
### Modifications
Make consumer-listener lambda serializable.
### Result
Spark receiver will not fail with Deserialization.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services