[ https://issues.apache.org/jira/browse/FLINK-5697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16693520#comment-16693520 ]
ASF GitHub Bot commented on FLINK-5697: --------------------------------------- mxm commented on a change in pull request #6980: [FLINK-5697] [kinesis] Add periodic per-shard watermark support URL: https://github.com/apache/flink/pull/6980#discussion_r234579413 ########## File path: flink-connectors/flink-connector-kinesis/src/main/java/org/apache/flink/streaming/connectors/kinesis/FlinkKinesisConsumer.java ########## @@ -220,6 +239,22 @@ public void setShardAssigner(KinesisShardAssigner shardAssigner) { ClosureCleaner.clean(shardAssigner, true); } + public AssignerWithPeriodicWatermarks<T> getPeriodicWatermarkAssigner() { + return periodicWatermarkAssigner; + } + + /** + * Set the assigner that will extract the timestamp from {@link T} and calculate the + * watermark. + * + * @param periodicWatermarkAssigner Review comment: Empty parameter doc. Add info or remove. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Add per-shard watermarks for FlinkKinesisConsumer > ------------------------------------------------- > > Key: FLINK-5697 > URL: https://issues.apache.org/jira/browse/FLINK-5697 > Project: Flink > Issue Type: New Feature > Components: Kinesis Connector, Streaming Connectors > Reporter: Tzu-Li (Gordon) Tai > Assignee: Thomas Weise > Priority: Major > Labels: pull-request-available > > It would be nice to let the Kinesis consumer be on-par in functionality with > the Kafka consumer, since they share very similar abstractions. Per-partition > / shard watermarks is something we can add also to the Kinesis consumer. -- This message was sent by Atlassian JIRA (v7.6.3#76005)