diff --git a/src/Confluent.Kafka.Extensions.Diagnostics/Confluent.Kafka.Extensions.Diagnostics.csproj b/src/Confluent.Kafka.Extensions.Diagnostics/Confluent.Kafka.Extensions.Diagnostics.csproj index 2ad4f7c..b833bf3 100644 --- a/src/Confluent.Kafka.Extensions.Diagnostics/Confluent.Kafka.Extensions.Diagnostics.csproj +++ b/src/Confluent.Kafka.Extensions.Diagnostics/Confluent.Kafka.Extensions.Diagnostics.csproj @@ -26,7 +26,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Confluent.Kafka.Extensions.Diagnostics/InstrumentedProducer.cs b/src/Confluent.Kafka.Extensions.Diagnostics/InstrumentedProducer.cs index b835d96..11a287e 100644 --- a/src/Confluent.Kafka.Extensions.Diagnostics/InstrumentedProducer.cs +++ b/src/Confluent.Kafka.Extensions.Diagnostics/InstrumentedProducer.cs @@ -13,6 +13,11 @@ public InstrumentedProducer(IProducer producer) public int AddBrokers(string brokers) => _producerImplementation.AddBrokers(brokers); + public void SetSaslCredentials(string username, string password) + { + _producerImplementation.SetSaslCredentials(username, password); + } + public Handle Handle => _producerImplementation.Handle; public string Name => _producerImplementation.Name; diff --git a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj index 8b11a71..1687f91 100644 --- a/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj +++ b/tests/Confluent.Kafka.Extensions.Diagnostics.Tests/Confluent.Kafka.Extensions.Diagnostics.Tests.csproj @@ -9,14 +9,14 @@ - + - + - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all