using prefetch_count and ack'ing messages in batches
37 views
Skip to first unread message
loki77
unread,
Apr 5, 2012, 7:32:24 PM4/5/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to carrot...@googlegroups.com
If I set a consumer up so that it has a prefetch_count of 20, is there a way I can bulk acknowledge getting those 20 messages? All the examples I've seen with kombu show calling the ack() method on a given message, but if I ack just the last of the first 20 messages I only get one more message and the rest remain un-acked. Any idea how to make this work?