janithkv commented on a change in pull request #2911: STORM-2720 : Add
TIMESTAMP option for FirstPollOffset for Kafka Trident spout
URL: https://github.com/apache/storm/pull/2911#discussion_r281036445
##########
File path:
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpoutConfig.java
##########
@@ -137,7 +142,11 @@ public KafkaSpoutConfig(Builder<K, V> builder) {
/**
* The kafka spout polls records from the last committed offset, if
any. If no offset has been committed it behaves as LATEST
*/
- UNCOMMITTED_LATEST;
+ UNCOMMITTED_LATEST,
+ /**
+ * Start at the earliest offset whose timestamp is greater than or
equal to the given startTimestamp
+ */
+ TIMESTAMP;
Review comment:
Agreed. Adding that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services