bbejeck commented on code in PR #22831: URL: https://github.com/apache/kafka/pull/22831#discussion_r4018935774
########## config/streams.properties: ########## @@ -0,0 +1,179 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# See org.apache.kafka.streams.StreamsConfig for more details. +# Consider using environment variables or external configuration management +# for sensitive information like passwords and environment-specific settings. + +##################### Application Basics ##################### + +# A unique identifier for the Kafka Streams application. +# Used as the consumer group id and as a prefix for internal (changelog and +# repartition) topic names, so it must be unique within the cluster. +# REQUIRED (no default). +application.id=my-streams-app + +# List of Kafka brokers used for initial cluster discovery and metadata retrieval. +# Format: host1:port1,host2:port2,host3:port3 +# REQUIRED (no default). +bootstrap.servers=localhost:9092 + +##################### Stream Threads ##################### + +# Number of threads to execute stream processing. +# Default: 1 +num.stream.threads=1 + +##################### Default SerDes ##################### + +# Default serializer/deserializer for record keys and values. These configs +# have no default, so a SerDe must either be set here or supplied explicitly in +# the code (for example via Consumed, Produced, or Materialized). A SerDe passed +# in the code always takes precedence over the default set here. +# Possible values include the SerDes in org.apache.kafka.common.serialization, +# for example: +# org.apache.kafka.common.serialization.Serdes$StringSerde +# org.apache.kafka.common.serialization.Serdes$ByteArraySerde +# org.apache.kafka.common.serialization.Serdes$LongSerde +#default.key.serde=org.apache.kafka.common.serialization.Serdes$StringSerde +#default.value.serde=org.apache.kafka.common.serialization.Serdes$StringSerde + +##################### Processing Guarantees ##################### + +# The processing guarantee that should be used. +# Options: at_least_once (default), exactly_once_v2. +processing.guarantee=at_least_once Review Comment: I think we should add an entry for `enable.transactional.statestores` right under here with a brief description of what it is - note that enabling this conig only makes sense when the processing guarantee is `exactly_once_v2` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
