damccorm opened a new issue, #21465:
URL: https://github.com/apache/beam/issues/21465

   A user noticed that we commit Kafka offsets without any obvious 
checkpointing. We use a `Reshuffle.byRandomKey()` to cause Dataflow and the 
SparkRunner to checkpoint. But on runners with non-checkpointing shuffle, this 
risks data loss.
   
    
   
   The modern solution is to use `{}@RequiresStableInput{`}. This is not 
perfectly/fully implemented across many runners, so we still need the explicit 
shuffle for now.
   
    
   
   
https://stackoverflow.com/questions/70785672/apache-beam-kafkaio-commit-offset-behaviour
   
   Imported from Jira 
[BEAM-13715](https://issues.apache.org/jira/browse/BEAM-13715). Original Jira 
may contain additional context.
   Reported by: kenn.


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to