lhotari opened a new pull request, #25009: URL: https://github.com/apache/pulsar/pull/25009
### Motivation Cleanup code in MultiTopicsConsumerImpl. - The pause/resume logic is unnecessary that was added in #14566. The only necessary change would be to set `configurationData.setStartPaused(paused)` - The putIfAbsent logic is not optimal since the new consumer is first created and then closed if there's a duplicate - The logic for putIfAbsent handling was missing in another location ### Modifications - cleanup pause/resume logic for internal consumers - cleanup and replace the putIfAbsent logic ### 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 --> -- 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]
