Skip to content

Commit a166208

Browse files
confluent_kafka: extend instruments version declaration to include 2.4.0 (#2616)
* confluent_kafka: update instruments version declaration to include 2.4.0 * Adjust CHANGELOG.md with actual PR number --------- Co-authored-by: Diego Hurtado <[email protected]>
1 parent f6ed62a commit a166208

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
([#2622](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2622))
1717
- `opentelemetry-sdk-extension-aws` Add AwsXrayLambdaPropagator
1818
([#2573](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2573))
19+
- `opentelemetry-instrumentation-confluent-kafka` Add support for version 2.4.0 of confluent_kafka
20+
([#2616](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2616))
1921

2022
### Breaking changes
2123

docs-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ botocore~=1.0
2727
boto3~=1.0
2828
cassandra-driver~=3.25
2929
celery>=4.0
30-
confluent-kafka>= 1.8.2,<= 2.3.0
30+
confluent-kafka>= 1.8.2,<= 2.4.0
3131
elasticsearch>=6.0,<9.0
3232
flask~=2.0
3333
falcon~=2.0

instrumentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| [opentelemetry-instrumentation-botocore](./opentelemetry-instrumentation-botocore) | botocore ~= 1.0 | No | experimental
1515
| [opentelemetry-instrumentation-cassandra](./opentelemetry-instrumentation-cassandra) | cassandra-driver ~= 3.25,scylla-driver ~= 3.25 | No | experimental
1616
| [opentelemetry-instrumentation-celery](./opentelemetry-instrumentation-celery) | celery >= 4.0, < 6.0 | No | experimental
17-
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, <= 2.3.0 | No | experimental
17+
| [opentelemetry-instrumentation-confluent-kafka](./opentelemetry-instrumentation-confluent-kafka) | confluent-kafka >= 1.8.2, <= 2.4.0 | No | experimental
1818
| [opentelemetry-instrumentation-dbapi](./opentelemetry-instrumentation-dbapi) | dbapi | No | experimental
1919
| [opentelemetry-instrumentation-django](./opentelemetry-instrumentation-django) | django >= 1.10 | Yes | experimental
2020
| [opentelemetry-instrumentation-elasticsearch](./opentelemetry-instrumentation-elasticsearch) | elasticsearch >= 6.0 | No | experimental

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232

3333
[project.optional-dependencies]
3434
instruments = [
35-
"confluent-kafka >= 1.8.2, <= 2.3.0",
35+
"confluent-kafka >= 1.8.2, <= 2.4.0",
3636
]
3737

3838
[project.entry-points.opentelemetry_instrumentor]

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

Lines changed: 1 addition & 1 deletion
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.3.0",)
16+
_instruments = ("confluent-kafka >= 1.8.2, <= 2.4.0",)

instrumentation/opentelemetry-instrumentation-confluent-kafka/test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
asgiref==3.7.2
2-
confluent-kafka==2.3.0
2+
confluent-kafka==2.4.0
33
Deprecated==1.2.14
44
importlib-metadata==6.11.0
55
iniconfig==2.0.0

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"instrumentation": "opentelemetry-instrumentation-celery==0.47b0.dev",
6666
},
6767
{
68-
"library": "confluent-kafka >= 1.8.2, <= 2.3.0",
68+
"library": "confluent-kafka >= 1.8.2, <= 2.4.0",
6969
"instrumentation": "opentelemetry-instrumentation-confluent-kafka==0.47b0.dev",
7070
},
7171
{

0 commit comments

Comments
 (0)