kuzkdmy opened a new issue, #19739:
URL: https://github.com/apache/pulsar/issues/19739

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Version
   
   2.11.0
   
   ### Minimal reproduce step
   
   Ensure explicit set of name in deadLetterTopic
   When it is not set DLQ created correctly in same tenant and namespace where 
original topic exists
   When set such name directly it created as
   persistent://public/default/test-topic-name-test-subscription-DLQ
   
             .enableRetry(true)
             .deadLetterPolicy(
               DeadLetterPolicy
                 .builder()
                 .maxRedeliverCount(opts.maxRedeliverTimes)
                 .deadLetterTopic("test-topic-name-test-subscription-DLQ") // 
TODO
                 .initialSubscriptionName(sub.name.value)
                 .build()
             )
   
   ### What did you expect to see?
   
   DLQ topic should be in same tenant as namespace as original topic
   
   ### What did you see instead?
   
   DLQ topic  created as
   persistent://public/default/test-topic-name-test-subscription-DLQ
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to