Skip to content

[Enhancement] Support the disablement of producer registration and fast channel shutdown. #9288

Open
@ymwneu

Description

@ymwneu

Before Creating the Enhancement Request

  • I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

  1. 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.
  2. Support fast channel event processing to improve the speed of disconnection.

Motivation

  1. 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.
  2. Support fast channel event processing to improve the speed of disconnection.

Describe the Solution You'd Like

  1. Add a new switch called enableRegisterProducer to support not recording producer channel info in non-transactional scenarios.
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions