oslo.messaging/oslo_messaging/tests
Ilya Tyaptin f139eb258d Moving driver to new kafka-python version
Currently Kafka driver for an oslo.messaging uses kafka-python==0.9.5
and mostly broken. This package version supports only low level Kafka
producer and consumer API which are marked as deprecated now [1]. Using
of these interfaces bring a big concern to the message processing,
because current KafkaConsumer has not any consuming coordination. This
fact causes a message duplication for the several consumers of one
topic. This behavior is specific to Ceilometer and services which read
and process notifications from other services.

New version of kafka-python allows to use async thread safe message
producers and coordinated consumers [1].

[1] http://kafka-python.readthedocs.io/en/master/changelog.html#feb-15-2016

The driver is currently experimental, python-kafka<1.0.0 API have major
issue described above that can't make the oslo.messaging driver works,
so we prefer having a working driver with a non-synced dependencies, that the
reverse.

Co-Authored-By: Mehdi Abaakouk <sileht@redhat.com>
Change-Id: I29862ed7bf56b9d8878fa8e9fb1cbd9d643908a4
2017-01-02 11:46:48 +01:00
..
drivers Moving driver to new kafka-python version 2017-01-02 11:46:48 +01:00
functional Moving driver to new kafka-python version 2017-01-02 11:46:48 +01:00
notify Replace mox with mock 2016-12-16 11:24:13 +01:00
rpc Replace mox with mock 2016-12-16 11:24:13 +01:00
__init__.py Use unittest.mock on Python 3 2015-04-16 00:07:48 +02:00
test_config_opts_proxy.py Change assertTrue(isinstance()) by optimal assert 2016-10-20 23:18:28 +08:00
test_exception_serialization.py Properly deserializes built-in exceptions 2016-10-05 16:57:55 -07:00
test_expected_exceptions.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_fixture.py Fixed a couple of pep8 errors/warnings 2016-01-25 15:00:49 +08:00
test_opts.py Moving driver to new kafka-python version 2017-01-02 11:46:48 +01:00
test_serializer.py Fix parameters of assertEqual are misplaced 2016-07-21 10:32:59 +08:00
test_target.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_transport.py Replace mox with mock 2016-12-16 11:24:13 +01:00
test_urls.py Add warning when credential is not specified for each host 2016-08-14 00:03:05 +08:00
test_utils.py Fixed a couple of pep8 errors/warnings 2016-01-25 15:00:49 +08:00
utils.py Replace six.iteritems() with .items() 2016-11-23 09:02:14 +00:00