poorbarcode opened a new pull request, #22705:
URL: https://github.com/apache/pulsar/pull/22705
### Motivation
After you set `defaultNumPartitions` to `16`, you will get `16` partitions
per topic, and `16*16` DLQ partitions per subscription, you will get a huge
number of DLQs if you have more than one subscription under one topic. For
example:
- create topic `t1` with `16` partitions
- you will get `t1-partition-0`, `t1-partition-1`...`tp-partition-15`.
- after you enable DLQ, you will get the following `16*16` DLQs per
subscription
- `t1-partition-0-{subscription}-DLQ-partition-0`
- `t1-partition-0-{subscription}-DLQ-partition-1`
- ...
- `t1-partition-15-{subscription}-DLQ-partition-15`
- `t1-partition-1-{subscription}-DLQ-partition-0`
- `t1-partition-1-{subscription}-DLQ-partition-1`
- ...
- ...
- ...
- `t1-partition-15-{subscription}-partition-15`
### Modifications
- Do not create partitioned DLQ/Retry topic automatically.
- Users can also create partitioned DLQ manually if they need it.
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
### Matching PR in forked repository
PR in forked repository: x
--
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]