spring-kafka icon indicating copy to clipboard operation
spring-kafka copied to clipboard

KafkaOperations is missing nullable annotations

Open gbaso opened this issue 7 months ago • 1 comments
trafficstars

In what version(s) of Spring for Apache Kafka are you seeing this issue?

3.3.3

Describe the bug

KafkaOperations is in a package annotated with @NonNullApi, therefore all method parameters are considered non-nullable, unless annotated differently. KafkaOperations does not have any nullability annotations, despite the data to send being @Nullable in KafkaTemplate.

Expected behavior

KafkaOperations should have nullability annotations similar to KafkaTemplate.

gbaso avatar Mar 20 '25 17:03 gbaso