apache / rocketmq-client-go

Apache RocketMQ go client
https://rocketmq.apache.org/
Apache License 2.0
1.29k stars 415 forks source link

[ISSUE #1007] fix trace use producer instead client underlay apis. #1095

Open xiaolibuzai-ovo opened 12 months ago

xiaolibuzai-ovo commented 12 months ago

What is the purpose of the change

traceDispatcher在初始化的时候,并没有初始化生产者,初始化一个真正的producer来发送trace信息, 而不是直接调用通信层的invokeSync。[issues https://github.com/apache/rocketmq-client-go/issues/1007]

Brief changelog

fix trace use producer instead client

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.