org.apache.spark.streaming.kafka
This is a helper class for Kafka test suites. This has the functionality to set up and tear down local Kafka servers, and to push data using Kafka producers.
Create a Kafka topic and wait until it propagated to the whole cluster
Send the array of messages to the Kafka broker
setup the whole embedded servers, including Zookeeper and Kafka brokers
This is a helper class for Kafka test suites. This has the functionality to set up and tear down local Kafka servers, and to push data using Kafka producers.