Skip to content

[ISSUE #807] Fix typos in the Transaction Message documentation - #808

Merged
ShannonDing merged 1 commit into
apache:new-official-websitefrom
kip123456:new-official-website
Nov 18, 2026
Merged

ShannonDing merged 1 commit into
apache:new-official-websitefrom
kip123456:new-official-website

Conversation

@kip123456

@kip123456 kip123456 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #807

@kip123456

Copy link
Copy Markdown
Contributor Author

Fixes #807

@ShannonDing ShannonDing left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified against apache/rocketmq develop source:

  • TopicMessageType enum values are all uppercase and EnumAttribute#verify uses a case-sensitive set check, so the original message.type=Transaction example would actually fail topic creation. Changing it to TRANSACTION is a real fix, not just a style change.
  • MQAdminStartup resolves subcommands via equalsIgnoreCase, so updatetopic worked but was inconsistent with the registered command name; updateTopic matches mqadmin help output.
  • Checked both files at PR head: all occurrences are now consistent (updateTopic + TRANSACTION), nothing missed.

Note: please add Fixes #807 to the PR description so the issue auto-closes on merge (a comment alone does not link it).

@ShannonDing
ShannonDing merged commit 6609148 into apache:new-official-website Nov 18, 2026
1 check passed

@butterkkk butterkkk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed both versioned 5.0 transaction-message docs. The examples now use updateTopic and the uppercase TRANSACTION message type consistently. The added -c explanation in the Chinese doc matches the command. I found no issue in the shown changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix typos in the Transaction Message documentation

3 participants