cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

PubSub Triggers

dferguson
Deputy Chef I
Deputy Chef I

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.

5 REPLIES 5

deven-maru
Workato employee
Workato employee

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.