I need to limit the number of execution of kafka trigger workflow, There are over 1k of massages are written to kafka and i have workflow to handle each massage. This issue is this workflow get executed to all the massages in kafka at the same time.
Example: 1000 massages are in kafka = 1000 executions at the same time.
Is there a possibility to limit these execution to x number, example: 1000 massages are in kafka = 3 executions once done start the next patch of 3 executions till all the massages are cleared.
I was thinking of deploying another n8n special for this workflow, if there is a way to limit the number of workflows executed by this n8n node.