gosonzhang opened a new issue #2569:
URL: https://github.com/apache/incubator-inlong/issues/2569


   ### What happened
   
   See 
https://github.com/apache/incubator-inlong/blob/master/inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/utils/MixedUtils.java#L125
   
![image](https://user-images.githubusercontent.com/14038849/154503391-c76f7330-5bcf-4065-b9f1-8182609cec46.png)
   
   In the MixedUtils.buildMessage() function, there is a bug hidden in the 
above part: when the filter item does not exist, the message reporting time 
information will not be filled in the message, although these two parameters 
are filled in through the same API, analyze the implementation of 
putSystemHeader, It is a setting that supports the case where two parameters 
are null at the same time. Therefore, it is necessary to adjust here to avoid 
the situation of missing information.
   
   ### What you expected to happen
   
   send message without filter item
   
   ### How to reproduce
   
   send message without filter item
   
   ### Environment
   
   windows
   
   ### InLong version
   
   master
   
   ### 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