Closed punit-naik closed 8 years ago
kafka-stream calls Spark's KafkaUtils/createStream. in the topic map, the name is the topic name and the value is the number of partitions to consume, and each partition will be consumed in it's own thread.
More information is available here: http://spark.apache.org/docs/latest/streaming-kafka-integration.html
@joshrotenberg thanks for replying!
@punit-naik if that answers your question, would you mind closing the issue, also, in case people haven't see it, there is a flambo-user
google group as an alternative place to ask questions.
I did not quite understand the way topics are passed to the function
flambo.streaming/kafka-stream
. If I pass a topic map like{"test" 1}
, what does the1
stand for?