class documentation
class ConsumerBatchReceivePolicy: (source)
Batch receive policy can limit the number and bytes of messages in a single batch, and can specify a timeout for waiting for enough messages for this batch.
A batch receive action is completed as long as any one of the conditions (the batch has enough number or size of messages, or the waiting timeout is passed) are met.
| Method | __init__ |
Wrapper BatchReceivePolicy. |
| Method | policy |
Returns the actual one BatchReceivePolicy. |
| Instance Variable | _policy |
Undocumented |