โ03-11-2021 10:22 PM
Are there plans to support batching of messages with the PubSub Trigger? For example, instead of calling a recipe once per message I would like to get 10, 20, 30, etc messages from the top of the queue each recipe call. These would be batched and sent to the recipe input either everytime the batch size is achived or however many messages are left in the queue after a max ellapsed time (for example 10 seconds), whichever happens first.
โ03-29-2021 01:53 AM
Dan Ferguson Thanks for the suggestion. Can you elaborate if there's any issue you're running into? Is your intent to optimize consumption processing? I'm trying to understand in what way the batching would benefit.
Joe Blanchett can you please descrine your use case as well? How batching helps in your pub/sub implementation?
Gary Wilkinson thanks for the detailed explanation on the scenario. You've heard right, the current message size limit is 128Kb.