Thats what explicit acknowledgement should solve afaik
Thats what explicit acknowledgement should solve afaik


batchKey that only delivers a batch of messages with the same (arbitrary) key..ack() individual messages as you process them, and prevent cases where batches need to be re-delivered in full. You can also force a batch to be retried, or even ack an entire batch preemptively. Read more here: https://developers.cloudflare.com/queues/changelog/#explicit-acknowledgement-new-feature
msg.body into an array? What have you tried? .send() and .retry() - as an example and indicative only:.send(msg, { delay: 600 }).retry({ delay: 300, backoffFactor: 2.0, maxDelay: 3600 })

batchKey.ack()msg.bodylet bodies = []
for (let msg of batch.messages) {
bodies.push(msg.body)
}.send().retry().send(msg, { delay: 600 }).retry({ delay: 300, backoffFactor: 2.0, maxDelay: 3600 })