HeartSaVioR opened a new pull request #23747: [WIP][SPARK-26848][SQL] Introduce 
new option to Kafka source: offset by timestamp (starting/ending)
URL: https://github.com/apache/spark/pull/23747
 
 
   ## What changes were proposed in this pull request?
   
   This patch introduces new options "startingOffsetsByTimestamp" and 
"endingOffsetsByTimestamp" to set specific timestamp per topic (since we're 
unlikely to set the different value per partition) to let source starts reading 
from offsets which have equal of greater timestamp, and ends reading until 
offsets which have equal of greater timestamp.
   
   The new option would be optional of course, and take preference over 
existing offset options.
   
   TODO:
   - documentation [ ]
   - scalastyle (if any) [ ]
   
   ## How was this patch tested?
   
   New unit tests added.
   
   TODO:
   - end-to-end test on actual Kafka cluster [ ]

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to