Search before creation
Documentation Related
The trace documentation (both English and Chinese) uses
new DefaultMQProducer("group", true) and
new DefaultMQPushConsumer("group", true) which no longer exist in 5.x.
Verified against the source code:
- DefaultMQProducer.java has no
(String, boolean) constructor
- DefaultMQPushConsumer.java has no
(String, boolean) constructor
The correct signatures are:
new DefaultMQProducer("group", true, null)
new DefaultMQPushConsumer("group", true, null)
Affected files:
- docs/cn/msg_trace/user_guide.md
- docs/en/msg_trace/user_guide.md
Are you willing to submit PR?
Search before creation
Documentation Related
The trace documentation (both English and Chinese) uses
new DefaultMQProducer("group", true)andnew DefaultMQPushConsumer("group", true)which no longer exist in 5.x.Verified against the source code:
(String, boolean)constructor(String, boolean)constructorThe correct signatures are:
new DefaultMQProducer("group", true, null)new DefaultMQPushConsumer("group", true, null)Affected files:
Are you willing to submit PR?