We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS: Fedora Python version: 3.12.4 Package version: confluent-kafka==2.4.0 opentelemetry-distro==0.48b0 opentelemetry-instrumentation-confluent-kafka==0.48b0
on consumer.close() TypeError: ConfluentKafkaInstrumentor._instrument.<locals>._inner_wrap_close() takes 2 positional arguments but 4 were given
TypeError: ConfluentKafkaInstrumentor._instrument.<locals>._inner_wrap_close() takes 2 positional arguments but 4 were given
consumer.py:
from confluent_kafka import Consumer topic = "topic" consumer = Consumer({'bootstrap.servers': 'localhost:9092', 'group.id': 'test-group'}) consumer.subscribe([topic]) message = consumer.poll(timeout=5) consumer.close()
$ opentelemetry-instrument python consumer.py
No TypeError
No response
None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your environment
OS: Fedora
Python version: 3.12.4
Package version:
confluent-kafka==2.4.0
opentelemetry-distro==0.48b0
opentelemetry-instrumentation-confluent-kafka==0.48b0
What happened?
on consumer.close()
TypeError: ConfluentKafkaInstrumentor._instrument.<locals>._inner_wrap_close() takes 2 positional arguments but 4 were given
Steps to Reproduce
consumer.py:
$ opentelemetry-instrument python consumer.py
Expected Result
No TypeError
Actual Result
TypeError: ConfluentKafkaInstrumentor._instrument.<locals>._inner_wrap_close() takes 2 positional arguments but 4 were given
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: