标签: pyspark spark-streaming
direct_kafka_stream = KafkaUtils.createDirectStream( ssc=ssc, topics=['pdns'], kafkaParams={"metadata.broker.list": brokers}, )
我们如何在KafkaUtils.createDirectStream中配置kafka api_version