gosonzhang opened a new issue, #11457:
URL: https://github.com/apache/inlong/issues/11457

   ### Description
   
   The following parts of the current SequentialID class implementation are 
unnecessary:
   1. A synchronous method is used when obtaining SeqId;
   2. This field is actually a 4-byte integer, but a long type is used as an 
accumulator, adding additional out-of-bounds judgment processing
   
   [1] 
https://github.com/apache/inlong/blob/master/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/SequentialID.java#L26
   
![image](https://github.com/user-attachments/assets/43615d87-6603-4ea9-835b-6c2a4bdaebd4)
   
   
   ### InLong Component
   
   InLong SDK
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscr...@inlong.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to