Github user arunmahadevan commented on a diff in the pull request: https://github.com/apache/storm/pull/1453#discussion_r65573427 --- Diff: storm-core/src/jvm/org/apache/storm/topology/base/BaseWindowedBolt.java --- @@ -255,6 +255,22 @@ public BaseWindowedBolt withTimestampField(String fieldName) { } /** + * Specify a stream id on which late tuples are going to be emitted. When using this method, + * {@link Config#TOPOLOGY_BOLTS_TUPLE_TIMESTAMP_FIELD_NAME} should be defined on a per component basis before + * calling this method, otherwise {@link IllegalArgumentException} will be thrown. + * + * @param streamId the name of the stream used to emit late tuples on + */ + public BaseWindowedBolt withLateTupleStream(String streamId) { + if (!windowConfiguration.containsKey(Config.TOPOLOGY_BOLTS_TUPLE_TIMESTAMP_FIELD_NAME)) { --- End diff -- On re-thinking, can this validation be moved to `initWindowManager` or `validate` so that we don't impose an ordering in the builder?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---