io.quarkus.smallrye.reactivemessaging.kafka.ReactiveMessagingKafkaConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-messaging-kafka Show documentation
Show all versions of quarkus-messaging-kafka Show documentation
Connect to Kafka with Reactive Messaging
package io.quarkus.smallrye.reactivemessaging.kafka;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigRoot;
@ConfigRoot(name = "messaging.kafka")
public class ReactiveMessagingKafkaConfig {
/**
* Enables the graceful shutdown in dev and test modes.
* The graceful shutdown waits until the inflight records have been processed and the offset committed to Kafka.
* 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.
*/
@ConfigItem(defaultValue = "false")
public boolean enableGracefulShutdownInDevAndTestMode;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy