Conversation
|
Claude finished @twmb's task in 9m 6s —— View job Review: aws_sqs: enforce 256 KB message and batch size limits
Commits Review LGTM |
|
@twmb please rebase |
Reject individual messages exceeding the SQS 256 KB limit before sending, and split batches by cumulative byte size so that each SendMessageBatch call stays within the 256 KB total payload limit. Closes #756 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
""" This PR does exactly the safe approach he suggested — it does not change any default batching config. It enforces limits at the edge in WriteBatch:
The batch policy (NewBatchPolicyField) is completely untouched — users still configure their own batching as before. The byte-size splitting is purely a safety net at send time. So Jeffail's concern doesn't apply here. |
|
Commits Review LGTM |
Reject individual messages exceeding the SQS 256 KB limit before sending, and split batches by cumulative byte size so that each SendMessageBatch call stays within the 256 KB total payload limit.
Closes #756