apache / apache/rocketmq-client-go

[Panic] init trace client, the same intstance

Open
#1,062 10 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Go
Stars
1.4k
Forks
445
PR merge metrics
No merged PRs in 30d

Description

The issue tracker is **ONLY** used for the go client (feature request of RocketMQ need to follow [RIP process](https://github.com/apache/rocketmq/wiki/RocketMQ-Improvement-Proposal)). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our [mailing lists](http://rocketmq.apache.org/about/contact/). We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

**BUG REPORT**
3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
panic log:
![image](https://github.com/apache/rocketmq-client-go/assets/17245594/cb47869c-bbda-4cb3-8381-6b35e612e18b)

problem code:
trace.NewTraceDispatcher()
InstanceName is same,so clientID is same,traceConfig can not set InstanceName or UnitName
image
dispatcher not nil,but traceCli is nil,
image
the Start() method,td.running = true panic
image

**FEATURE REQUEST**

1. Please describe the feature you are requesting.
ClientID() method change to below, id add GroupName
image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.