summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorAndy Smith <ansmith@redhat.com>2018-09-17 13:21:42 -0400
committerAndy Smith <ansmith@redhat.com>2018-12-04 11:25:07 -0500
commit5a842ae15582e4eedfb1b2510eaf4a8997701f58 (patch)
tree283024cba8b0b6b736f85978aba5568280af1d51 /test-requirements.txt
parent252844879d9e34c81b1777a92ad4407fab4a6853 (diff)
downloadoslo-messaging-5a842ae15582e4eedfb1b2510eaf4a8997701f58.tar.gz
Switch driver to confluent-kafka client library
This patch switches the kafka python client from kafka-python to confluent-kafka due to documented threading issues with the kafka-python consumer and the recommendation to use multiplrocessing. The confluent-kafka client leverages the high performance librdkafka C client and is safe for multiple thread use. This patch: * switches to confluent-kafka library * revises consumer and producer message operations * utilizes event.tpool method for confluent-kafka blocking calls * updates unit tests * adds kafka specific timeouts for functional tests * adds release note Depends-On: Ice374dca539b8ed1b1965b75379bad5140121483 Change-Id: Idfb9fe3700d882c8285c6dc56b0620951178eba2
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 22636cb..25b019b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -14,8 +14,7 @@ oslotest>=3.2.0 # Apache-2.0
pifpaf>=0.10.0 # Apache-2.0
# for test_impl_kafka
-tenacity>=4.4.0 # Apache-2.0
-kafka-python>=1.3.1 # Apache-2.0
+confluent-kafka>=0.11.6 # Apache-2.0
# when we can require tox>= 1.4, this can go into tox.ini:
# [testenv:cover]