Consumer settings struct. More...
#include <userver/urabbitmq/consumer_settings.hpp>
 Collaboration diagram for urabbitmq::ConsumerSettings:Public Attributes | |
| Queue | queue | 
| A queue to consume from.   | |
| std::uint16_t | prefetch_count | 
Consumer settings struct.
Definition at line 15 of file consumer_settings.hpp.
| std::uint16_t urabbitmq::ConsumerSettings::prefetch_count | 
Limit for unacked messages, degree of parallelism if you will. Tasks are dispatched asynchronously, so be a bit careful with this value: up to this value of tasks might be executed concurrently, which could be overwhelming
Settings this value to 1 basically makes a consumer synchronous, which could be of use for some workloads
Definition at line 26 of file consumer_settings.hpp.
| Queue urabbitmq::ConsumerSettings::queue | 
A queue to consume from.
Definition at line 17 of file consumer_settings.hpp.