xuesongxs opened a new issue #8759:
URL: https://github.com/apache/pulsar/issues/8759


   **Describe the bug**
   Consumer code:
               Consumer<String> consumer = 
getClient().newConsumer(Schema.STRING)
                       .topic("persistent://public/default/test-string2")
                       .subscriptionType(SubscriptionType.Shared)
                       .subscriptionName("my-subscription32")
                       .enableRetry(true)
                       .deadLetterPolicy(DeadLetterPolicy.builder()
                               .maxRedeliverCount(3)
                               .build())
                       .subscribe();
   
   I created two non-partitioned topics: test-string2, test-string3。
   The name of the subscription is the same,allowAutoTopicCreation=true,and 
allowAutoTopicCreationType=non-partitioned,in broker, both consumers will write 
messages to my-subscription32-DLQ.
   The automatically created topic formart is not: 
topic-subscriptionName-DLQ,it is subscriptionName-DLQ.
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to