The GitHub Actions job "Build" on 
rocketmq-clients.git/fix/rust-message-builder-blank-lite-topic has failed.
Run started by GitHub user leizhiyuan (triggered by leizhiyuan).

Head commit for run:
daf509cea038e0ec64c763f9cacd67bce821f58d / leizhiyuann <[email protected]>
[ISSUE #1418] [Rust] Reject blank lite topic in MessageBuilder

An empty or blank lite topic was accepted by MessageBuilder and only
rejected by the server, with 40014 (expected LITE but actual NORMAL) for an
empty string or 40020 for whitespace.

Align with the Java client (MessageBuilderImpl#setLiteTopic checks
StringUtils.isNotBlank): build() now fails with InvalidMessage
"lite_topic should not be blank." for both lite_message_builder and
set_lite_topic. Surrounding whitespace of a non-blank lite topic is kept
as is, like Java.

Report URL: https://github.com/apache/rocketmq-clients/actions/runs/39531005819

With regards,
GitHub Actions via GitBox

Reply via email to