Github user vesense commented on a diff in the pull request:
https://github.com/apache/storm/pull/2089#discussion_r113364469
--- Diff:
storm-client/src/jvm/org/apache/storm/topology/TopologyBuilder.java ---
@@ -316,6 +322,68 @@ public BoltDeclarer setBolt(String id, IWindowedBolt
bolt, Number parallelism_hi
}
/**
+ * Define a new bolt in this topology. This defines a lambda basic
bolt, which is a
+ * simpler to use but more restricted kind of bolt. Basic bolts are
intended
+ * for non-aggregation processing and automate the anchoring/acking
process to
+ * achieve proper reliability in the topology.
+ *
+ * @param id the id of this component. This id is referenced by other
components that want to consume this bolt's outputs.
+ * @param biConsumer lambda expression which is the instance of
functional interface BiConsumer
--- End diff --
Good catch. Will update.
---
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.
---