Skip to content

Commit 5ac58c2

Browse files
Add support for confluent_kafka until 2.1.1 version (#1815)
* Add support for confulent_kafka until 2.1.1 version * Include 2.1.1 version * update CHANGELOG.md * run: 'tox -e generate' * resolve comments * update top version to 2.2.0 --------- Co-authored-by: Ran Nozik <[email protected]>
1 parent 1dd17ed commit 5ac58c2

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
([#1706](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1706))
2828
- `opentelemetry-instrumentation-pymemcache` Update instrumentation to support pymemcache >4
2929
([#1764](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1764))
30+
- `opentelemetry-instrumentation-confluent-kafka` Add support for higher versions of confluent_kafka
31+
([#1815](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1815))
3032

3133
### Added
3234

docs-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ boto~=2.0
2626
botocore~=1.0
2727
boto3~=1.0
2828
celery>=4.0
29-
confluent-kafka>= 1.8.2,< 2.0.0
29+
confluent-kafka>= 1.8.2,<= 2.2.0
3030
elasticsearch>=2.0,<9.0
3131
flask~=2.0
3232
falcon~=2.0

instrumentation/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| [opentelemetry-instrumentation-boto3sqs](./opentelemetry-instrumentation-boto3sqs) | boto3 ~= 1.0 | No
1212
| [opentelemetry-instrumentation-botocore](./opentelemetry-instrumentation-botocore) | botocore ~= 1.0 | No
1313
| [opentelemetry-instrumentation-celery](./opentelemetry-instrumentation-celery) | celery >= 4.0, < 6.0 | No
14-
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, < 2.0.0 | No
14+
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, <= 2.2.0 | No
1515
| [opentelemetry-instrumentation-dbapi](./opentelemetry-instrumentation-dbapi) | dbapi | No
1616
| [opentelemetry-instrumentation-django](./opentelemetry-instrumentation-django) | django >= 1.10 | Yes
1717
| [opentelemetry-instrumentation-elasticsearch](./opentelemetry-instrumentation-elasticsearch) | elasticsearch >= 2.0 | No

instrumentation/opentelemetry-instrumentation-confluent-kafka/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies = [
3131

3232
[project.optional-dependencies]
3333
instruments = [
34-
"confluent-kafka >= 1.8.2, < 2.0.0",
34+
"confluent-kafka >= 1.8.2, <= 2.2.0",
3535
]
3636
test = [
3737
"opentelemetry-instrumentation-confluent-kafka[instruments]",

instrumentation/opentelemetry-instrumentation-confluent-kafka/src/opentelemetry/instrumentation/confluent_kafka/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414

1515

16-
_instruments = ("confluent-kafka >= 1.8.2, < 2.0.0",)
16+
_instruments = ("confluent-kafka >= 1.8.2, <= 2.2.0",)

opentelemetry-instrumentation/src/opentelemetry/instrumentation/bootstrap_gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"instrumentation": "opentelemetry-instrumentation-celery==0.40b0.dev",
5454
},
5555
"confluent-kafka": {
56-
"library": "confluent-kafka >= 1.8.2, < 2.0.0",
56+
"library": "confluent-kafka >= 1.8.2, <= 2.2.0",
5757
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.40b0.dev",
5858
},
5959
"django": {

0 commit comments

Comments
 (0)