apache / apache/rocketmq

Malformed orderTopicConf crashes client and proxy route conversion

Open
#10,838 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
22.6k
Forks
12k
Avg merge
3d 1h
Merged PRs (30d)
27

Description

Both MQClientInstance and MessageQueueSelector assume every orderTopicConf entry has broker:queueCount format and a numeric queue count. One malformed entry can throw ArrayIndexOutOfBoundsException or NumberFormatException and abort route conversion. Expected behavior: skip malformed entries while retaining valid ordered broker entries.

Contributor guide

Open the contributing guide

Research direction

Start by reading the orderTopicConf handling in MQClientInstance and MessageQueueSelector, focusing on route conversion and queue-count parsing. Verify behavior with malformed entries containing missing separators or nonnumeric counts, while confirming valid ordered broker entries remain available after conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.