dimanche 29 avril 2018

Consume multiple messages in one Job using Supervisor

I have Laravel app and using Supervisor to handle queues. Right now, all my Jobs (workers) consume single message and are set as daemons. It works great.

Now I wanna know how to set a Job to be able to consume multiple messages (bulk) and if no message came for X seconds or max messages it will handle whatever piled up within the Job itself.

Unfortunately, in Laravel docs there is no explanation how to do that so I'm not even sure it's possible..



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vS9VAM
via IFTTT

Aucun commentaire:

Enregistrer un commentaire