The GitHub Actions job "Build" on 
rocketmq-clients.git/fix/rust-producer-reject-lite-batch has failed.
Run started by GitHub user leizhiyuan (triggered by leizhiyuan).

Head commit for run:
e7913277bb898fe331243432ea918b77948f3810 / leizhiyuann <[email protected]>
[ISSUE #1415] [Rust] Reject lite batch and check send receipt count

The proxy stores a multi-message SendMessageRequest as one batch and
returns a single SendResultEntry whose message_id joins all ids. The broker
only dispatches a lite message to its lite topic on the single-message
path, so a batch of lite messages was reported as sent by batch_send but
never delivered to lite consumers.

- Reject a batch of more than one message that contains a lite message
  with InvalidMessage before sending.
- Align with the Java client (ProducerImpl#send0): fail the send with
  ErrorKind::Server when the number of receipts differs from the number of
  sent messages, instead of returning the server entries as is. This also
  removes the panic of Producer::send when the server returns no entry.

BREAKING CHANGE: since the proxy returns one entry per batch, batch_send
with more than one message now fails for normal messages too. Send
messages one by one with Producer::send.

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

With regards,
GitHub Actions via GitBox

Reply via email to