attach a payload to queue batch rather than each message?
With CF queues, are you able to send a payload that’s attached to the actual batch, rather than each message?
I would like to send a userId for example to the controller, rather than to each consumer message.
2 Replies
No, you cannot, also because you don't know what messages will be part of a batch(unless you set the size to 1, but that kind of defeats the purpose).
Makes sense, thank you