rocketmq
rocketmq copied to clipboard
Do not throw exception in order producer demo.
UnsupportedEncodingException should not be throw out in main function.
public static void main(String[] args) throws UnsupportedEncodingException
https://github.com/apache/rocketmq/blob/develop/example/src/main/java/org/apache/rocketmq/example/ordermessage/Producer.java
Please assigned it to me, i want to try it.
Please assigned it to me, thanks!!
Please assigned it to me, i want to try it.
welcome, pls create a PR after you fix it.
fixed #5138.
Having reviewed the other code like this, I also found some issue like this, https://github.com/apache/rocketmq/blob/develop/example/src/main/java/org/apache/rocketmq/example/simple/AsyncProducer.java
Fixed all code in example package like this.
UnsupportedEncodingException should not be throw out in main function.
What is the rational behind this decision?