消费者民意调查卡夫卡流媒体

时间:2017-09-20 14:35:15

标签: apache-spark apache-kafka streaming

https://kafka.apache.org/0101/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#poll(long)

我想使用基于轮询的界面(上面)从kafka流中选择消息(参见下面的链接)。当我使用Spark的直接流方法时,如何设置超时属性。

https://spark.apache.org/docs/2.1.0/structured-streaming-kafka-integration.html

欢迎任何有关处理此类互动的建议:)谢谢!

0 个答案:

没有答案
相关问题