The GitHub Actions job "Build" on rocketmq-clients.git/master has failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
18468ee6a89956b333f8beaa63e48cd752cbccfb / Lei Zhiyuan <[email protected]>
[ISSUE #1418] [Rust] Reject blank lite topic in MessageBuilder (#1420)

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/39881562906

With regards,
GitHub Actions via GitBox

Reply via email to