Spark Structured Stream get messages from only one partition of Kafka

前端 未结 1 1319
悲&欢浪女
悲&欢浪女 2021-01-23 02:36

I got the situation when spark can stream and get messages from only one partition of Kafka 2-patition topic.

My topics: C:\\bigdata\\kafka_2.11-0.10.1.1\\bin\\win

相关标签:
1条回答
  • 2021-01-23 02:50

    There is a known Kafka issue in 0.10.1.* client: https://issues.apache.org/jira/browse/KAFKA-4547

    Right now you can use 0.10.0.1 client as a workaround. It can talk to a Kafka 0.10.1.* cluster.

    See https://issues.apache.org/jira/browse/SPARK-18779 for more details.

    0 讨论(0)
提交回复
热议问题