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

   ### What happened
   
   In SinkTask.java, if the Topic is empty, the following lines of code will be 
re-sent twice:
   
   1. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/pulsar/SinkTask.java#L163
   
![企业微信截图_16655620554830](https://user-images.githubusercontent.com/14038849/195286683-77e77ee0-8775-44d5-9604-7d0553980d99.png)
   
   
   ### What you expected to happen
   
   only sent once and topic is null should discard the message
   
   ### How to reproduce
   
   use pulsar sink without topic configure and send message
   
   ### 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: [email protected]

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

Reply via email to