SparkStreaming读Kafka- Couldn't find leader offsets for Set([tt,0], [tt,1], [tt,2])

在运行SparkStreaming程序时,出现了这样的错
Couldn't find leader offsets for Set([tt,0], [tt,1], [tt,2])

解决方法:
在server.prorerties中配置


image.png
SparkStreaming读Kafka- Couldn't find leader offsets for Set([tt,0], [tt,1], [tt,2])_第1张图片
image.png

你可能感兴趣的:(SparkStreaming读Kafka- Couldn't find leader offsets for Set([tt,0], [tt,1], [tt,2]))