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

[OpenTelemetry.Instrumentation.ConfluentKafka] OpenTelemetry.Instrumentation.ConfluentKafka limits the ability to dynamically load producers or consumers #2299

Open
baba4ba opened this issue Nov 5, 2024 · 2 comments
Labels
comp:instrumentation.confluentkafka Things related to OpenTelemetry.Instrumentation.ConfluentKafka enhancement New feature or request

Comments

@baba4ba
Copy link

baba4ba commented Nov 5, 2024

Component

OpenTelemetry.Instrumentation.ConfluentKafka

Is your feature request related to a problem?

Sometimes, Kafka producers or consumers need to dynamically load configurations and rebuild them without restarting, based on the configurations, through the producer or consumer's builder. OpenTelemetry.Instrumentation.ConfluentKafka uses the builder for Instrumentation loading configurations that might affect the dynamic loading of producers or consumers.

Is it an issue with my usage?

What is the expected behavior?

reuse the builder with new configurations to construct producers or consumers

Which alternative solutions or features have you considered?

  • use a factory instead of a builder
  • public the EnableTrace method

Additional context

No response

@baba4ba baba4ba added the enhancement New feature or request label Nov 5, 2024
@baba4ba baba4ba changed the title [feature request] 123 [OpenTelemetry.Instrumentation.ConfluentKafka] OpenTelemetry.Instrumentation.ConfluentKafka limits the ability to dynamically load producers or consumers Nov 5, 2024
@github-actions github-actions bot added the comp:instrumentation.confluentkafka Things related to OpenTelemetry.Instrumentation.ConfluentKafka label Nov 5, 2024
Copy link
Contributor

github-actions bot commented Nov 5, 2024

Tagging component owner(s).

@g7ed6e

@g7ed6e
Copy link
Contributor

g7ed6e commented Nov 27, 2024

@baba4ba can you share a small repro of the dynamic rebuild of the producers/consumers ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.confluentkafka Things related to OpenTelemetry.Instrumentation.ConfluentKafka enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants