Skip to content
New issue

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

conflent-kafka: Proxy producer purge #2638

Merged

Conversation

joshschltelus
Copy link
Contributor

@joshschltelus joshschltelus commented Jun 26, 2024

Description

Adds purge to proxy producer

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

from confluent_kafka import Producer
from opentelemetry.instrumentation.confluent_kafka import ConfluentKafkaInstrumentor

instrumentor = ConfluentKafkaInstrumentor()
producer = instrumentor.instrument_producer(Producer({'bootstrap.servers': "localhost:9092"}))
producer.produce('test', value='test'.encode('utf-8'))
producer.purge(blocking=True)

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Copy link

linux-foundation-easycla bot commented Jun 26, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@joshschltelus joshschltelus requested a review from a team June 26, 2024 17:53
@joshschltelus joshschltelus changed the title [WIP] conflent-kafka: Proxy producer purge conflent-kafka: Proxy producer purge Jun 26, 2024
@lzchen lzchen merged commit 58a6d3a into open-telemetry:main Jun 27, 2024
365 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants