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

   ### What happened
   
   In the MessageQueueZoneSinkContext class, when the record processed by the 
addSendResultMetric function is of the SimplePackProfile type[1], the error 
result is also reported as successful
   
   
![image](https://github.com/apache/inlong/assets/14038849/8921bd9d-ff10-46e6-a062-81eaf33d776b)
   
   1. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/MessageQueueZoneSinkContext.java#L136
   
   ### What you expected to happen
   
   Count only successful results
   
   ### How to reproduce
   
   review code
   
   ### Environment
   
   linux
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong DataProxy
   
   ### 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