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

   ### Description
   
   In the SimpleMessageProducer.checkMessageAndStatus() function [1], when 
checking the message parameter content, if something is abnormal, an exception 
will be thrown. In actual use, if the specific error can be clearly informed 
through the error, the API call will be more convenient to use. For example, if 
the message packet is too long, the caller can clearly understand the cause of 
the error without parsing the thrown exception information.
   
![image](https://github.com/apache/inlong/assets/14038849/2bbcfa96-b461-48e6-8648-17e057f15f17)
   
   
   1. 
https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-client/src/main/java/org/apache/inlong/tubemq/client/producer/SimpleMessageProducer.java#L300
   
   ### InLong Component
   
   InLong TubeMQ
   
   ### 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: [email protected]

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

Reply via email to