K
- The generic key typeV
- The generic value type@EachProperty(value="kafka.streams", primary="default") @Requires(beans=KafkaDefaultConfiguration.class) public class KafkaStreamsConfiguration<K,V> extends AbstractKafkaStreamsConfiguration<K,V>
KafkaStreams
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX
The default streams configuration.
|
DEFAULT_BOOTSTRAP_SERVERS, DEFAULT_KAFKA_PORT, EMBEDDED, EMBEDDED_TOPICS
Constructor and Description |
---|
KafkaStreamsConfiguration(java.lang.String streamName,
KafkaDefaultConfiguration defaultConfiguration,
io.micronaut.runtime.ApplicationConfiguration applicationConfiguration,
io.micronaut.context.env.Environment environment)
Construct a new
KafkaStreamsConfiguration for the given defaults. |
init
getConfig
public static final java.lang.String PREFIX
public KafkaStreamsConfiguration(@Parameter java.lang.String streamName, KafkaDefaultConfiguration defaultConfiguration, io.micronaut.runtime.ApplicationConfiguration applicationConfiguration, io.micronaut.context.env.Environment environment)
KafkaStreamsConfiguration
for the given defaults.streamName
- The stream namedefaultConfiguration
- The default configurationapplicationConfiguration
- The application configurationenvironment
- The environment