|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 2 | +# contributor license agreements. See the NOTICE file distributed with |
| 3 | +# this work for additional information regarding copyright ownership. |
| 4 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 5 | +# (the "License"); you may not use this file except in compliance with |
| 6 | +# the License. You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | +# These are defaults. This file just demonstrates how to override some settings. |
| 17 | +bootstrap.servers=kafka-0:9092 |
| 18 | + |
| 19 | +# The converters specify the format of data in Kafka and how to translate it into Connect data. Every Connect user will |
| 20 | +# need to configure these based on the format they want their data in when loaded from or stored into Kafka |
| 21 | +key.converter=org.apache.kafka.connect.json.JsonConverter |
| 22 | +value.converter=org.apache.kafka.connect.json.JsonConverter |
| 23 | +# Converter-specific settings can be passed in by prefixing the Converter's setting with the converter we want to apply |
| 24 | +# it to |
| 25 | +key.converter.schemas.enable=true |
| 26 | +value.converter.schemas.enable=true |
| 27 | + |
| 28 | +# The internal converter used for offsets and config data is configurable and must be specified, but most users will |
| 29 | +# always want to use the built-in default. Offset and config data is never visible outside of Kafka Connect in this format. |
| 30 | +internal.key.converter=org.apache.kafka.connect.json.JsonConverter |
| 31 | +internal.value.converter=org.apache.kafka.connect.json.JsonConverter |
| 32 | +internal.key.converter.schemas.enable=false |
| 33 | +internal.value.converter.schemas.enable=false |
| 34 | + |
| 35 | +offset.storage.file.filename=/tmp/connect.offsets |
| 36 | +# Flush much faster than normal, which is useful for testing/debugging |
| 37 | +offset.flush.interval.ms=10000 |
| 38 | + |
| 39 | +# Set to a list of filesystem paths separated by commas (,) to enable class loading isolation for plugins |
| 40 | +# (connectors, converters, transformations). The list should consist of top level directories that include |
| 41 | +# any combination of: |
| 42 | +# a) directories immediately containing jars with plugins and their dependencies |
| 43 | +# b) uber-jars with plugins and their dependencies |
| 44 | +# c) directories immediately containing the package directory structure of classes of plugins and their dependencies |
| 45 | +# Note: symlinks will be followed to discover dependencies or plugins. |
| 46 | +# Examples: |
| 47 | +# plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors, |
| 48 | +#plugin.path= |
0 commit comments