apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.
https://rocketmq.apache.org/
Apache License 2.0
21.3k stars 11.71k forks source link

[Enhancement] Introduce the clearRetryTopicWhenDeleteTopic option to enable precise external deletion of topics #8968

Closed RongtongJin closed 2 days ago

RongtongJin commented 1 week ago

Before Creating the Enhancement Request

Summary

Add the clearRetryTopicWhenDeleteTopic option to allow precise deleton of topics externally without the need to traverse consumerOffset

Motivation

Add the clearRetryTopicWhenDeleteTopic option to allow precise deleton of topics externally without the need to traverse consumerOffset

Describe the Solution You'd Like

  1. Introduce the clearRetryTopicWhenDeleteTopic option to enable precise external deletion of topics, eliminating the need to traverse consumerOffsetTable and thereby enhancing performance.

  2. Add the setConsumerOffsetManager interface to simplify external customization.

Describe Alternatives You've Considered

No

Additional Context

No