Skip to content

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

@linux-foundation-easycla
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
xrmx pushed a commit to xrmx/opentelemetry-python-contrib that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants