-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
In what version(s) of Spring for Apache Kafka are you seeing this issue?
main
Describe the bug
That's not really a bug but the project does not build cleanly:
To Reproduce
Invoking ./gradlew :spring-kafka:compileJava --rerun-tasks
leads to:
> Task :spring-kafka:compileJava
/Users/snicoll/workspace/work/spring-kafka/spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/MessagingMessageListenerAdapter.java:553: warning: [try] auto-closeable resource scope is never referenced in body of corresponding try statement
try (var scope = observation.openScope()) {
^
1 warning
This was added in June so I wonder what's going on.