arunmahadevan commented on issue #24613: [SPARK-27549][SS] Add support for 
committing kafka offsets per batch for supporting external tooling
URL: https://github.com/apache/spark/pull/24613#issuecomment-492732093
 
 
   The source offsets are available in the `StreamingQueryProgress` in the 
listener so it may be another place where the offsets could be committed 
without touching the source, though I agree the proposed built-in option should 
be considered if its a common requirement. 
   I guess you also need to think about the failure scenarios like what happens 
if the commit to some partitions succeed from the driver but the batch fails 
and is replayed.

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

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

Reply via email to