sd4324530 opened a new issue, #2238:
URL: https://github.com/apache/fluss/issues/2238

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Fluss version
   
   0.8.0 (latest release)
   
   ### Please describe the bug 🐞
   
   <img width="2418" height="1052" alt="Image" 
src="https://github.com/user-attachments/assets/26c21d33-16a2-4c11-9c42-492167996ea5";
 />
   
   `getAttemptNumber()` is not founded in flink 2.1
   
   ### Solution
   
   <img width="639" height="285" alt="Image" 
src="https://github.com/user-attachments/assets/221e055f-d1e1-4696-8eff-bf970a30d0c4";
 />
   
   The current code is compatible with Flink version 1.18. Newer versions can 
replace it with: getRuntimeContext().getTaskInfo().getAttemptNumber().
   We should need to adapt it for Flink 1.19 and above.
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


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