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:
c4c063f83254dc59785ba16fd740762425d8e97d / Lei Zhiyuan <[email protected]>
[ISSUE #1415] [Rust] Reject lite batch and check send receipt count (#1416)

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

With regards,
GitHub Actions via GitBox

Reply via email to