Github user nabhanelrahman commented on a diff in the pull request:
https://github.com/apache/storm/pull/1474#discussion_r66368337
--- Diff:
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java
---
@@ -72,8 +72,10 @@
private transient boolean initialized; //
Flag indicating that the spout is still undergoing initialization process.
// Initialization is only complete after the first call to
KafkaSpoutConsumerRebalanceListener.onPartitionsAssigned()
+ private KafkaSpoutStream kafkaSpoutStream;
--- End diff --
KafkaSpoutStreams is a collection of KafkaSpoutStream because you can have
multiple topics for the kafkaconsumer.subscribe(List<String topics... )
That is not the case of kafkaconsumer.subscribe(Pattern ). You can only
have one pattern per Spout, so it doesn't make sense to put in Streams instead
of Stream
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---