f139eb258d
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
47 lines
1.5 KiB
Plaintext
47 lines
1.5 KiB
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
# Hacking already pins down pep8, pyflakes and flake8
|
|
hacking<0.11,>=0.10.0
|
|
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
mock>=2.0 # BSD
|
|
mox3>=0.7.0 # Apache-2.0
|
|
python-subunit>=0.0.18 # Apache-2.0/BSD
|
|
testrepository>=0.0.18 # Apache-2.0/BSD
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|
|
testtools>=1.4.0 # MIT
|
|
oslotest>=1.10.0 # Apache-2.0
|
|
pifpaf>=0.10.0 # Apache-2.0
|
|
# for test_matchmaker_redis
|
|
redis>=2.10.0 # MIT
|
|
|
|
# for test_impl_zmq
|
|
pyzmq>=14.3.1 # LGPL+BSD
|
|
|
|
# for test_impl_kafka
|
|
# NOTE(sileht) temporary commented since requirements repo cap it to <1.0.0
|
|
# due to monasca project that have some concern with newer version.
|
|
# The driver is currently experimental, python-kafka<1.0.0 API have major issue
|
|
# that can't make the oslo.messaging driver works, so we prefer having a working
|
|
# driver with a non-synced dep, that the reverse
|
|
# kafka-python>=1.3.1 # Apache-2.0
|
|
|
|
# when we can require tox>= 1.4, this can go into tox.ini:
|
|
# [testenv:cover]
|
|
# deps = {[testenv]deps} coverage
|
|
coverage>=4.0 # Apache-2.0
|
|
|
|
# this is required for the docs build jobs
|
|
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
|
|
oslosphinx>=4.7.0 # Apache-2.0
|
|
reno>=1.8.0 # Apache-2.0
|
|
|
|
# AMQP 1.0 support depends on the Qpid Proton AMQP 1.0
|
|
# development libraries.
|
|
pyngus>=2.0.2 # Apache-2.0
|
|
|
|
# Bandit security code scanner
|
|
bandit>=1.1.0 # Apache-2.0
|