RunLLM
10/29/2025, 5:41 PM..<subscription>-<consumerName>-DLQ) be as well, since it uses the consumer name in the producer’s name?
# Answer
If you don't specify a consumer name, Pulsar generates a unique consumer name for each consumer. The DLQ producer name is constructed as topic-subscription-consumerName-DLQ, so if each consumer has a unique name, the DLQ producer name will also be unique and there will be no conflict. The issue in pulsar-client-go #1297 only arises when multiple consumers use the same name, which leads to DLQ producer name conflicts because the producer name is not unique in that case.
If you let Pulsar auto-generate consumer names (i.e., don't specify them), you will not encounter this DLQ producer name conflict, as confirmed in the issue discussion and the related fix. Would you like more detail on how the producer name is generated or how the fix works?
Sources:
- pulsar-client-go issue #1297
- pulsar-client-go PR #1314
Slack Link
https://apache-pulsar.slack.com/archives/C5Z4T36F7/p1761759664.521149 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.