0AyanamiRei opened a new pull request, #67515:
URL: https://github.com/apache/doris/pull/67515

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: In cloud mode, every `ALTER ROUTINE LOAD ... FROM 
KAFKA(...)` operation reset the persisted routine-load progress. For Kafka 
client-property-only changes such as `group.id` or `client.id`, the reset 
request contained no partition offsets, so Meta Service deleted the complete 
progress record. After FE replay, resuming the job could reconstruct offsets 
from the default end position and skip the paused backlog while still reporting 
`RUNNING`.
   
   This change preserves existing cloud progress for Kafka client-property-only 
alterations. Progress is still reset when the topic or explicit partition 
offsets change.
   
   ### Release note
   
   Kafka client-property-only routine load alterations now preserve cloud 
consumption progress across FE replay and resume.
   
   ### Check List (For Author)
   
   - Test: Unit Test added; not run as requested
   - Behavior changed: Yes. Kafka client-property-only ALTER no longer resets 
cloud routine-load progress.
   - Does this need documentation: No


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


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

Reply via email to