Prerequisites
Test Scope
File: rocketmq-model/src/topic.rs.
TopicMessageType::parse_from_message_property classifies a map using ordered message markers. The precedence has no focused test in topic.rs.
Test Cases
Acceptance: use table-driven or similarly concise cases; preserve the existing classification order and public API.
Validation from the repository root: cargo test -p rocketmq-model --lib, cargo fmt -p rocketmq-model -- --check, and cargo clippy -p rocketmq-model --tests --no-deps -- -D warnings.
Willing to contribute?
Prerequisites
Test Scope
File:
rocketmq-model/src/topic.rs.TopicMessageType::parse_from_message_propertyclassifies a map using ordered message markers. The precedence has no focused test intopic.rs.Test Cases
TRAN_MSGset to case-insensitivetruewins over delay and sharding markers.TRAN_MSG=falsedoes not force Transaction.Acceptance: use table-driven or similarly concise cases; preserve the existing classification order and public API.
Validation from the repository root:
cargo test -p rocketmq-model --lib,cargo fmt -p rocketmq-model -- --check, andcargo clippy -p rocketmq-model --tests --no-deps -- -D warnings.Willing to contribute?