@ConfigurationProperties(value="kafka") @Requires(value="kafka") public class KafkaDefaultConfiguration extends AbstractKafkaConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_HEALTHTIMEOUT
The default health timeout value.
|
DEFAULT_BOOTSTRAP_SERVERS, DEFAULT_KAFKA_PORT, EMBEDDED, EMBEDDED_TOPICS, PREFIX
Constructor and Description |
---|
KafkaDefaultConfiguration(io.micronaut.context.env.Environment environment)
Constructs the default Kafka configuration.
|
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
getHealthTimeout()
The health check timeout.
|
void |
setHealthTimeout(java.time.Duration healthTimeout)
The health check timeout.
|
getConfig
public static final int DEFAULT_HEALTHTIMEOUT
public KafkaDefaultConfiguration(io.micronaut.context.env.Environment environment)
environment
- The environmentpublic java.time.Duration getHealthTimeout()
public void setHealthTimeout(java.time.Duration healthTimeout)
healthTimeout
- The duration