feat: add support for KafkaDependentProducer instrumentation #44
Annotations
1 error and 11 warnings
ci
Process completed with exit code 1.
|
ci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L14
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ProducerBuilderExtensions.cs#L14
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/DependentProducerBuilderExtensions.cs#L15
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L15
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ActivityDiagnosticsHelper.cs#L47
Modify 'StartProduceActivity' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L39
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L40
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L62
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ConsumerExtensions.cs#L63
Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510)
|
ci:
src/Confluent.Kafka.Extensions.Diagnostics/ActivityDiagnosticsHelper.cs#L69
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ActivityDiagnosticsHelper.UpdateActivityTags<TKey, TValue>(DeliveryResult<TKey, TValue>, Activity)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|