Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/9742#discussion_r45013894
--- Diff: python/pyspark/streaming/kafka.py ---
@@ -19,12 +19,14 @@
from pyspark.rdd import RDD
from pyspark.storagelevel import StorageLevel
-from pyspark.serializers import PairDeserializer, NoOpSerializer
+from pyspark.serializers import AutoBatchedSerializer, PickleSerializer,
PairDeserializer, \
+ NoOpSerializer
from pyspark.streaming import DStream
from pyspark.streaming.dstream import TransformedDStream
from pyspark.streaming.util import TransformFunction
-__all__ = ['Broker', 'KafkaUtils', 'OffsetRange', 'TopicAndPartition',
'utf8_decoder']
+__all__ = ['Broker', 'default_message_handler', 'KafkaMessageAndMetadata',
'KafkaUtils',
--- End diff --
Remove this `default_message_handler`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]