Package io.quarkus.kafka.streams.runtime
Class KafkaStreamsRuntimeConfig
- java.lang.Object
-
- io.quarkus.kafka.streams.runtime.KafkaStreamsRuntimeConfig
-
@ConfigRoot(name="kafka-streams", phase=RUN_TIME) public class KafkaStreamsRuntimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringapplicationIdA unique identifier for this Kafka Streams application.Optional<String>applicationServerA unique identifier of this application instance, typically in the form host:port.List<InetSocketAddress>bootstrapServersA comma-separated list of host:port pairs identifying the Kafka bootstrap server(s).static StringDEFAULT_KAFKA_BROKERDefault Kafka bootstrap server.SaslConfigsaslThe SASL JAAS config.StringschemaRegistryKeyThe schema registry key.Optional<String>schemaRegistryUrlThe schema registry URL.Optional<String>securityProtocolThe security protocol to use See https://docs.confluent.io/current/streams/developer-guide/security.html#security-exampleSslConfigsslKafka SSL configOptional<List<String>>topicsA comma-separated list of topic names.DurationtopicsTimeoutTimeout to wait for topic names to be returned from admin client.
-
Constructor Summary
Constructors Constructor Description KafkaStreamsRuntimeConfig()
-
-
-
Field Detail
-
DEFAULT_KAFKA_BROKER
public static final String DEFAULT_KAFKA_BROKER
Default Kafka bootstrap server.- See Also:
- Constant Field Values
-
applicationId
@ConfigItem(defaultValue="${quarkus.application.name}") public String applicationId
A unique identifier for this Kafka Streams application. If not set, defaults to quarkus.application.name.
-
bootstrapServers
@ConfigItem(defaultValue="localhost:9012") public List<InetSocketAddress> bootstrapServers
A comma-separated list of host:port pairs identifying the Kafka bootstrap server(s). If not set, fallback tokafka.bootstrap.servers, and if not set either uselocalhost:9012.
-
applicationServer
@ConfigItem public Optional<String> applicationServer
A unique identifier of this application instance, typically in the form host:port.
-
topics
@ConfigItem public Optional<List<String>> topics
A comma-separated list of topic names. The pipeline will only be started once all these topics are present in the Kafka cluster andignore.topicsis set to false.
-
topicsTimeout
@ConfigItem(defaultValue="10S") public Duration topicsTimeout
Timeout to wait for topic names to be returned from admin client. If set to 0 (or negative),topicscheck is ignored.
-
schemaRegistryKey
@ConfigItem(defaultValue="schema.registry.url") public String schemaRegistryKey
The schema registry key. Different schema registry libraries expect a registry URL in different configuration properties. For Apicurio Registry, useapicurio.registry.url. For Confluent schema registry, useschema.registry.url.
-
schemaRegistryUrl
@ConfigItem public Optional<String> schemaRegistryUrl
The schema registry URL.
-
securityProtocol
@ConfigItem(name="security.protocol") public Optional<String> securityProtocol
The security protocol to use See https://docs.confluent.io/current/streams/developer-guide/security.html#security-example
-
sasl
public SaslConfig sasl
The SASL JAAS config.
-
ssl
public SslConfig ssl
Kafka SSL config
-
-