Class KafkaStreamsRuntimeConfig

java.lang.Object
io.quarkus.kafka.streams.runtime.KafkaStreamsRuntimeConfig

@ConfigRoot(name="kafka-streams", phase=RUN_TIME) public class KafkaStreamsRuntimeConfig extends Object
  • Field Details

    • DEFAULT_KAFKA_BROKER

      public static final String DEFAULT_KAFKA_BROKER
      Default Kafka bootstrap server.
      See Also:
    • 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:9092") public List<InetSocketAddress> bootstrapServers
      A comma-separated list of host:port pairs identifying the Kafka bootstrap server(s). If not set, fallback to kafka.bootstrap.servers, and if not set either use localhost:9092.
    • 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 and ignore.topics is 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), topics check 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, use apicurio.registry.url. For Confluent schema registry, use schema.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
  • Constructor Details

    • KafkaStreamsRuntimeConfig

      public KafkaStreamsRuntimeConfig()
  • Method Details