This spout can be used to consume messages from a cluster of Kafka brokers. The consumption and further processing in the Storm topology is currently unreliable! When you create this spout in Storm, it is recommended that the parallelism hint you set be less than or equal to the number of partitions available for the topic you are consuming from. If you specify a parallelism hint that is great than the number of partitions, some spouts/consumers will sit idle and not do anything. This design is inherent to the way Kafka works.
@author Josh Devins
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.