opentelemetry-dotnet-contrib icon indicating copy to clipboard operation
opentelemetry-dotnet-contrib copied to clipboard

[feature request] Register ConfluentKafka without generic

Open NorDroN opened this issue 1 year ago • 0 comments

Component

None

Is your feature request related to a problem?

It's very difficult to register all models for consumers and producers:

.AddKafkaProducerInstrumentation<string, ProducerClass1>() .AddKafkaProducerInstrumentation<string, ProducerClass2>() ... .AddKafkaConsumerInstrumentation<string, ConsumerClass1>() .AddKafkaConsumerInstrumentation<string, ConsumerClass2>() ...

What is the expected behavior?

.AddKafkaProducerInstrumentation() -> for all producers .AddKafkaConsumerInstrumentation() -> for all consumers

Which alternative solutions or features have you considered?

none

Additional context

No response

NorDroN avatar Oct 30 '24 19:10 NorDroN