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-492793112
 
 
   I was thinking a case where the driver crashes in the middle of 
`kafkaConsumer.commitAsync` (so only a subset of the partition offsets are 
committed) and then the batch is replayed. Does kafka allow  committing the 
same offsets again? In this case there will also be an inconsistent view 
(subset of partition offsets are updated) when the external tooling tries to 
display the offset before the batch is replayed. (ideally all the offsets 
should advance or none of them advance)

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