MeghaUpadhyay commented on a change in pull request #2721: Add offset look-back 
option in Kafka consumer
URL: https://github.com/apache/incubator-gobblin/pull/2721#discussion_r317401476
 
 

 ##########
 File path: 
gobblin-modules/gobblin-kafka-common/src/main/java/org/apache/gobblin/source/extractor/extract/kafka/KafkaSource.java
 ##########
 @@ -90,6 +90,8 @@
   public static final String LATEST_OFFSET = "latest";
   public static final String EARLIEST_OFFSET = "earliest";
   public static final String NEAREST_OFFSET = "nearest";
+  public static final String OFFSET_LOOKBACK = "offset_lookback";
+  public static final String TIMESTAMP_LOOKBACK = "timestamp_lookback";
 
 Review comment:
   Kafka 0.10.1.0 consumer supports offsetsForTimes. I am exploring on how can 
I have same functionality for lower kafka versions. I will remove this from 
this PR and create a new PR with time based lookup. Could you please suggest on 
how should we incorporate support for new kafka client versions (kafka09+) ?

----------------------------------------------------------------
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

Reply via email to