From 74ee51d94657628973ba2732663dcd911cde4cbc Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 5 Aug 2021 09:21:06 +0200 Subject: [PATCH] Reactive Kafka: replace @ConfigProperty by @ConfigItem --- .../kafka/ReactiveMessagingKafkaConfig.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/smallrye-reactive-messaging-kafka/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/kafka/ReactiveMessagingKafkaConfig.java b/extensions/smallrye-reactive-messaging-kafka/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/kafka/ReactiveMessagingKafkaConfig.java index 1e45d53a154ef..8278f33d0c1e3 100644 --- a/extensions/smallrye-reactive-messaging-kafka/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/kafka/ReactiveMessagingKafkaConfig.java +++ b/extensions/smallrye-reactive-messaging-kafka/runtime/src/main/java/io/quarkus/smallrye/reactivemessaging/kafka/ReactiveMessagingKafkaConfig.java @@ -1,7 +1,6 @@ package io.quarkus.smallrye.reactivemessaging.kafka; -import org.eclipse.microprofile.config.inject.ConfigProperty; - +import io.quarkus.runtime.annotations.ConfigItem; import io.quarkus.runtime.annotations.ConfigRoot; @ConfigRoot(name = "reactive-messaging.kafka") @@ -13,7 +12,7 @@ public class ReactiveMessagingKafkaConfig { * While this setting is highly recommended in production, in dev and test modes, it's disabled by default. * This setting allows to re-enable it. */ - @ConfigProperty(defaultValue = "false") + @ConfigItem(defaultValue = "false") public boolean enableGracefulShutdownInDevAndTestMode; }