From 3c49fb9267bfee1a8f576d63c408829ea78ccaa1 Mon Sep 17 00:00:00 2001 From: Witold Bedyk Date: Tue, 24 Jul 2018 17:11:21 +0200 Subject: [PATCH] Add confluent-kafka to global-requirements * Is the library actively maintained? Yes, it's maintained by Confluent. * Is the library good code? Yes, it's a recommended Python Kafka client. * Is the library python 3 compatible? Yes. * Is the library license compatible? Yes, Apache-2. * Is the library already packaged in the distros we target (Ubuntu latest / Fedora latest)? Partially: Ubuntu [1] SUSE (unofficial) [2] [1] https://packages.ubuntu.com/bionic/python-confluent-kafka [2] https://build.opensuse.org/package/show/home:jgrassler:branches:devel:languages:python/python-confluent-kafka * Is the function of this library already covered by other libraries in global-requirements.txt? Partially. Confluent-kafka is a Python wrapper around librdkafka which provides full Kafka protocol support with great performance compared to the kafka-python. Confluent-kafka is about to replace not used in OpenStack PyKafka [3]. [3] https://review.openstack.org/585398 * Is the library required for OpenStack project or related dev or infrastructure setup? Yes, Monasca. Change-Id: I5f0756ee796cb1d59a8a2a9c1c51b746f019ec39 --- global-requirements.txt | 1 + upper-constraints.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/global-requirements.txt b/global-requirements.txt index ac2ef72eb9..6812487f12 100644 --- a/global-requirements.txt +++ b/global-requirements.txt @@ -22,6 +22,7 @@ cffi # MIT cliff!=2.9.0 # Apache-2.0 cmd2!=0.8.3,<0.9.0;python_version<'3.0' # MIT cmd2!=0.8.3;python_version>='3.0' # MIT +confluent-kafka # Apache-2.0 cotyledon # Apache-2.0 construct<2.9 # MIT PuLP # MIT diff --git a/upper-constraints.txt b/upper-constraints.txt index 0316c684cb..41ed95dfdb 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -547,3 +547,4 @@ actdiag===0.5.4 sysv-ipc===1.0.0 scikit-learn===0.19.2 django-debreach===1.4.2 +confluent-kafka===0.11.5