ad1happy2go commented on issue #9398:
URL: https://github.com/apache/hudi/issues/9398#issuecomment-1715912574

   @nickrvieira 
   
   For S3EventsSource - SQS, it control the max messages limit. In case you 
want to ingest all messages available, then what problem you have if you set 
this to an enormous number, as the code will anyway take min of number of 
message available vs this property.
   
   ```
    log.info("Approximately " + approxMessagesAvailable + " messages available 
in queue.");
    long numMessagesToProcess = Math.min(approxMessagesAvailable, 
maxMessagePerBatch);
   ```
   
   For S3EventsHoodieIncrSource, I do understand your issue with 
`hoodie.deltastreamer.source.hoodieincr.read_latest_on_missing_ckpt` as true. 
But that is exactly why checkpoint is there to know how many messages got 
succeeded after last successful batch. If it's not there then anyway we only 
have two options, either process all the data or process only latest changes. 
   This is anyway will be deprecated in new release and We will be able to set 
the strategy in the new release as READ_LATEST or READ_UPTO_LATEST_COMMIT.


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