|
| 1 | +## |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 | +# contributor license agreements. See the NOTICE file distributed with |
| 4 | +# this work for additional information regarding copyright ownership. |
| 5 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 | +# (the "License"); you may not use this file except in compliance with |
| 7 | +# the License. You may obtain a copy of the License at |
| 8 | +# |
| 9 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +# |
| 11 | +# Unless required by applicable law or agreed to in writing, software |
| 12 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +# See the License for the specific language governing permissions and |
| 15 | +# limitations under the License. |
| 16 | +## |
| 17 | + |
| 18 | +# This file contains some of the configurations for the Kafka Connect distributed worker. This file is intended |
| 19 | +# to be used with the examples, and some settings may differ from those used in a production system, especially |
| 20 | +# the `bootstrap.servers` and those specifying replication factors. |
| 21 | + |
| 22 | +# A list of host/port pairs to use for establishing the initial connection to the Kafka cluster. |
| 23 | +bootstrap.servers=localhost:9092 |
| 24 | + |
| 25 | +# unique name for the cluster, used in forming the Connect cluster group. Note that this must not conflict with consumer group IDs |
| 26 | +group.id=connect-cluster |
| 27 | + |
| 28 | +# The converters specify the format of data in Kafka and how to translate it into Connect data. Every Connect user will |
| 29 | +# need to configure these based on the format they want their data in when loaded from or stored into Kafka |
| 30 | +key.converter=org.apache.kafka.connect.json.JsonConverter |
| 31 | +value.converter=org.apache.kafka.connect.json.JsonConverter |
| 32 | +# Converter-specific settings can be passed in by prefixing the Converter's setting with the converter we want to apply |
| 33 | +# it to |
| 34 | +key.converter.schemas.enable=true |
| 35 | +value.converter.schemas.enable=true |
| 36 | + |
| 37 | +# Topic to use for storing offsets. This topic should have many partitions and be replicated and compacted. |
| 38 | +# Kafka Connect will attempt to create the topic automatically when needed, but you can always manually create |
| 39 | +# the topic before starting Kafka Connect if a specific topic configuration is needed. |
| 40 | +# Most users will want to use the built-in default replication factor of 3 or in some cases even specify a larger value. |
| 41 | +# Since this means there must be at least as many brokers as the maximum replication factor used, we'd like to be able |
| 42 | +# to run this example on a single-broker cluster and so here we instead set the replication factor to 1. |
| 43 | +offset.storage.topic=connect-offsets |
| 44 | +offset.storage.replication.factor=1 |
| 45 | +#offset.storage.partitions=25 |
| 46 | + |
| 47 | +# Topic to use for storing connector and task configurations; note that this should be a single partition, highly replicated, |
| 48 | +# and compacted topic. Kafka Connect will attempt to create the topic automatically when needed, but you can always manually create |
| 49 | +# the topic before starting Kafka Connect if a specific topic configuration is needed. |
| 50 | +# Most users will want to use the built-in default replication factor of 3 or in some cases even specify a larger value. |
| 51 | +# Since this means there must be at least as many brokers as the maximum replication factor used, we'd like to be able |
| 52 | +# to run this example on a single-broker cluster and so here we instead set the replication factor to 1. |
| 53 | +config.storage.topic=connect-configs |
| 54 | +config.storage.replication.factor=1 |
| 55 | + |
| 56 | +# Topic to use for storing statuses. This topic can have multiple partitions and should be replicated and compacted. |
| 57 | +# Kafka Connect will attempt to create the topic automatically when needed, but you can always manually create |
| 58 | +# the topic before starting Kafka Connect if a specific topic configuration is needed. |
| 59 | +# Most users will want to use the built-in default replication factor of 3 or in some cases even specify a larger value. |
| 60 | +# Since this means there must be at least as many brokers as the maximum replication factor used, we'd like to be able |
| 61 | +# to run this example on a single-broker cluster and so here we instead set the replication factor to 1. |
| 62 | +status.storage.topic=connect-status |
| 63 | +status.storage.replication.factor=1 |
| 64 | +#status.storage.partitions=5 |
| 65 | + |
| 66 | +# Flush much faster than normal, which is useful for testing/debugging |
| 67 | +offset.flush.interval.ms=10000 |
| 68 | + |
| 69 | +# These are provided to inform the user about the presence of the REST host and port configs |
| 70 | +# Hostname & Port for the REST API to listen on. If this is set, it will bind to the interface used to listen to requests. |
| 71 | +#rest.host.name= |
| 72 | +#rest.port=8083 |
| 73 | + |
| 74 | +# The Hostname & Port that will be given out to other workers to connect to i.e. URLs that are routable from other servers. |
| 75 | +#rest.advertised.host.name= |
| 76 | +#rest.advertised.port= |
| 77 | + |
| 78 | +# Set to a list of filesystem paths separated by commas (,) to enable class loading isolation for plugins |
| 79 | +# (connectors, converters, transformations). The list should consist of top level directories that include |
| 80 | +# any combination of: |
| 81 | +# a) directories immediately containing jars with plugins and their dependencies |
| 82 | +# b) uber-jars with plugins and their dependencies |
| 83 | +# c) directories immediately containing the package directory structure of classes of plugins and their dependencies |
| 84 | +# Examples: |
| 85 | +# plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors, |
| 86 | +#plugin.path= |
0 commit comments