Multiple instance of producers sharing the same producer name
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
**Describe the bug**
Running multiple instances of a service with same producer name has error - already registered with the Pulsar broker.
**To Reproduce**
Create a service, with a producer having a name, that produces messages to a topic. Run multiple instance of the instance, the second instance should complain the use of the name
**Expected behavior**
Should I have different producer name? randomly create producer names?
**Additional context**
[stackoverflow](https://stackoverflow.com/questions/70676985/multiple-instance-of-producers-sharing-the-same-producer-name)
Contributor guide
Research direction
Start by reproducing the producer-name conflict described in the issue with multiple service instances, then read the linked Stack Overflow discussion. Trace how Pulsar registers producer names and determine whether duplicate names should be supported or uniquely generated; done means the expected behavior and required change are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100