Skip to content

chore: Feature/kafka consumer #18

chore: Feature/kafka consumer

chore: Feature/kafka consumer #18

Triggered via pull request June 18, 2025 15:59
Status Success
Total duration 1m 51s
Artifacts

examples-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L183
Using member 'System.Type.MakeGenericType(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L181
Using member 'System.Type.MakeGenericType(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L99
Using member 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeConsumerRecords<T>(String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. ConsumerRecords deserialization uses reflection and may be incompatible with trimming.
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L99
Using member 'AWS.Lambda.Powertools.Kafka.PowertoolsKafkaSerializerBase.DeserializeConsumerRecords<T>(String)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. ConsumerRecords deserialization dynamically creates generic types and may be incompatible with NativeAOT.
build: libraries/src/AWS.Lambda.Powertools.Kafka/PowertoolsKafkaSerializerBase.cs#L412
Dereference of a possibly null reference.
build: examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L90
Dereference of a possibly null reference.
build: examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L81
Dereference of a possibly null reference.
build: examples/Parameters/cfn/HelloWorld.Cfn/Function.cs#L80
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: examples/Idempotency/src/HelloWorld/Function.cs#L86
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: examples/Idempotency/src/HelloWorld/Function.cs#L86
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.