oslo.messaging/oslo_messaging/_drivers
Mehdi Abaakouk 4dd644ac20 batch notification listener
Gnocchi performs better if measurements are write in batch
When Ceilometer is used with Gnocchi, this is not possible.

This change introduce a new notification listener that allows that.

On the driver side, a default batch implementation is provided.
It's just call the legacy poll method many times.

Driver can override it to provide a better implementation.
For example, kafka handles batch natively and take benefit of this.

Change-Id: I16184da24b8661aff7f4fba6196ecf33165f1a77
2015-12-08 09:14:20 +01:00
..
protocols batch notification listener 2015-12-08 09:14:20 +01:00
zmq_driver batch notification listener 2015-12-08 09:14:20 +01:00
__init__.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
amqp.py Move ConnectionPool and ConnectionContext outside amqp.py 2015-11-30 11:53:48 +00:00
amqpdriver.py batch notification listener 2015-12-08 09:14:20 +01:00
base.py batch notification listener 2015-12-08 09:14:20 +01:00
common.py Move ConnectionPool and ConnectionContext outside amqp.py 2015-11-30 11:53:48 +00:00
impl_fake.py batch notification listener 2015-12-08 09:14:20 +01:00
impl_kafka.py batch notification listener 2015-12-08 09:14:20 +01:00
impl_rabbit.py batch notification listener 2015-12-08 09:14:20 +01:00
impl_zmq.py Properly skip zmq tests without ZeroMQ being installed 2015-12-04 23:07:09 +02:00
pool.py Move ConnectionPool and ConnectionContext outside amqp.py 2015-11-30 11:53:48 +00:00