You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ennru I believe the only thing needed to the code above is:
SendMessageBatchRequestEntry
.builder()
.id(i.toString)
.messageBody(r.messageBody())
.messageAttributes(r.messageAttributes())
.messageGroupId(r.messageGroupId())
.messageDeduplicationId(r.messageDeduplicationId())
// Add this new line
.delaySeconds(r.delaySeconds())
.build()
Versions used
Akka version: Any version
Expected Behavior
Delay seconds parameter from SendMessageRequest should be forwarded to the batch requests
Actual Behavior
SendMessageBatchRequestEntry is build without the delay seconds parameter.
https://github.com/akka/alpakka/blob/main/sqs/src/main/scala/akka/stream/alpakka/sqs/scaladsl/SqsPublishFlow.scala#L85
SendMessageBatchRequestEntry .builder() .id(i.toString) .messageBody(r.messageBody()) .messageAttributes(r.messageAttributes()) .messageGroupId(r.messageGroupId()) .messageDeduplicationId(r.messageDeduplicationId()) .build()
The text was updated successfully, but these errors were encountered: