gaborgsomogyi 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-493077198
 
 
   > 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.
   
   +1 on having this feature built-in. This part is common and later everybody 
can build its own additional tooling around.
   
   > Does kafka allow committing the same offsets again?
   
   Yes, no problem committing the same offsets multiple times.
   
   > In this case there will also be an inconsistent view
   
   The committed offsets are only a means to expose the consumer’s progress for 
monitoring purposes.
    Since the checkpoint data can't be written together with Kafka offset, 
there might be minor inconsistencies (I think these has to be mentioned in the 
description).
   

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