loserwang1024 opened a new pull request, #29:
URL: https://github.com/apache/flink-connector-kafka/pull/29

   ### What is the purpose of the change
   
   As described inĀ 
[[FLIP-288](https://cwiki.apache.org/confluence/display/FLINK/FLIP-288%3A+Enable+Dynamic+Partition+Discovery+by+Default+in+Kafka+Source)](https://cwiki.apache.org/confluence/display/FLINK/FLIP-288%3A+Enable+Dynamic+Partition+Discovery+by+Default+in+Kafka+Source),
 Current JavaDoc does not fully explain the behavior of OffsetsInitializers. 
When the partition does not meet the condition, there will be a different 
offset strategy. 
   
   This may lead to misunderstandings in the design and usage.
   
   ### Brief change log
   
   Add to SpecifiedOffsetsInitializer: "Use Specified offset for specified 
partitions while use commit offset or Earliest for unspecified partitions. 
Specified partition offset should be less than the latest offset, otherwise it 
will start from the earliest."
   
   Add to TimestampOffsetsInitializer:Initialize the offsets based on a 
timestamp. If the message meeting the requirement of the timestamp have not 
been produced to Kafka yet, just use the latest offset.
   
   ### Verifying this change
   
   no code changes.


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

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to