Open
Description
Before Creating the Enhancement Request
- I have confirmed that this should be classified as an enhancement rather than a bug/feature.
Summary
- The current broker retains all producer channel information, which can consume a significant amount of resources when there are a large number of producers. In non-transactional message scenarios, the producer channel information is not useful. It would be beneficial to consider adding a switch to not record PID information in these scenarios.
- Support fast channel event processing to improve the speed of disconnection.
Motivation
- The current broker retains all producer channel information, which can consume a significant amount of resources when there are a large number of producers. In non-transactional message scenarios, the producer channel information is not useful. It would be beneficial to consider adding a switch to not record PID information in these scenarios.
- Support fast channel event processing to improve the speed of disconnection.
Describe the Solution You'd Like
- Add a new switch called enableRegisterProducer to support not recording producer channel info in non-transactional scenarios.
- When registering a producer/consumer, register group information in the channel so that related groups can be quickly located when the channel is disconnected.
Describe Alternatives You've Considered
no
Additional Context
No response