Skip to content

Commit

Permalink
[ISSUE #2408]🤡Remove AckMessageProcessor useless code🧑‍💻
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm committed Jan 25, 2025
1 parent 4523086 commit 3de9b89
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions rocketmq-broker/src/processor/ack_message_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ use crate::broker_runtime::BrokerRuntimeInner;
use crate::processor::pop_message_processor::PopMessageProcessor;

pub struct AckMessageProcessor<MS> {
//topic_config_manager: TopicConfigManager,
// message_store: ArcMut<MS>,
// escape_bridge: ArcMut<EscapeBridge<MS>>,
// store_host: SocketAddr,
//pop_inflight_message_counter: Arc<PopInflightMessageCounter>,
// consumer_offset_manager: Arc<ConsumerOffsetManager>,
// consumer_order_info_manager: Arc<ConsumerOrderInfoManager<MS>>,
pop_message_processor: ArcMut<PopMessageProcessor<MS>>,
broker_runtime_inner: ArcMut<BrokerRuntimeInner<MS>>,
}
Expand All @@ -70,28 +63,11 @@ where
MS: MessageStore,
{
pub fn new(
/*topic_config_manager: TopicConfigManager,
message_store: ArcMut<MS>,
escape_bridge: ArcMut<EscapeBridge<MS>>,
broker_config: Arc<BrokerConfig>,
pop_inflight_message_counter: Arc<PopInflightMessageCounter>,
store_host: SocketAddr,
consumer_offset_manager: Arc<ConsumerOffsetManager>,
pop_message_processor: ArcMut<PopMessageProcessor<MS>>,
consumer_order_info_manager: Arc<ConsumerOrderInfoManager<MS>>,*/
//pop_inflight_message_counter: Arc<PopInflightMessageCounter>,
broker_runtime_inner: ArcMut<BrokerRuntimeInner<MS>>,
pop_message_processor: ArcMut<PopMessageProcessor<MS>>,
) -> AckMessageProcessor<MS> {
AckMessageProcessor {
/* topic_config_manager,
message_store,
escape_bridge,
store_host,*/
// pop_inflight_message_counter,
/* consumer_offset_manager, */
pop_message_processor,
/* consumer_order_info_manager, */
broker_runtime_inner,
}
}
Expand Down

0 comments on commit 3de9b89

Please # to comment.