Skip to content

Commit

Permalink
no need to rewind
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyzhao2018 committed May 22, 2024
1 parent 47171fe commit 7afe14a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public AmazonWebServiceRequest beforeMarshalling(AmazonWebServiceRequest request
for (PublishBatchRequestEntry entry : pmbRequest.getPublishBatchRequestEntries()) {
Map<String, MessageAttributeValue> messageAttributes = entry.getMessageAttributes();
if (messageAttributes.size() < 10) {
binaryValue.rewind();
messageAttributes.put(
"_datadog",
new MessageAttributeValue().withDataType("Binary").withBinaryValue(binaryValue));
Expand Down

0 comments on commit 7afe14a

Please sign in to comment.