Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/1902#discussion_r99054916
--- Diff:
examples/storm-kafka-examples/src/main/java/org/apache/storm/kafka/trident/TridentKafkaWordCount.java
---
@@ -95,7 +95,8 @@ public static void main(String[] args) throws Exception {
localSubmitter.submit(prodTpName, tpConf,
KafkaProducerTopology.newTopology(zkBrokerUrl[1], topicName));
// Consumer
localSubmitter.submit(consTpName, tpConf,
TridentKafkaConsumerTopology.newTopology(localSubmitter.getDrpc(),
- new
TransactionalTridentKafkaSpout(newTridentKafkaConfig(zkBrokerUrl[0]))));
+ new
OpaqueTridentKafkaSpout(newTridentKafkaConfig(zkBrokerUrl[0]))));
+// new
TransactionalTridentKafkaSpout(newTridentKafkaConfig(zkBrokerUrl[0]))));
--- End diff --
Example topology doesn't really need to provide cover features
exhaustively. Users still can see TransactionalTridentKafkaSpout is available,
even not looking at this class. If users can't find, IMHO it's a documentation
issue.
---
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.
---