Created
September 1, 2016 14:59
-
-
Save rmoff/0e228583b6b00a4d06e656c9fd7f64d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
# These are defaults. This file just demonstrates how to override some settings. | |
bootstrap.servers=localhost:9092 | |
# The converters specify the format of data in Kafka and how to translate it into Connect data. Every Connect user will | |
# need to configure these based on the format they want their data in when loaded from or stored into Kafka | |
key.converter=org.apache.kafka.connect.json.JsonConverter | |
value.converter=org.apache.kafka.connect.json.JsonConverter | |
# Converter-specific settings can be passed in by prefixing the Converter's setting with the converter we want to apply | |
# it to | |
key.converter.schemas.enable=false | |
value.converter.schemas.enable=false | |
# The internal converter used for offsets and config data is configurable and must be specified, but most users will | |
# always want to use the built-in default. Offset and config data is never visible outside of Kafka Connect in this format. | |
internal.key.converter=org.apache.kafka.connect.json.JsonConverter | |
internal.value.converter=org.apache.kafka.connect.json.JsonConverter | |
internal.key.converter.schemas.enable=false | |
internal.value.converter.schemas.enable=false | |
offset.storage.file.filename=/tmp/connect.01.offsets | |
rest.port=18001 | |
# Flush much faster than normal, which is useful for testing/debugging | |
offset.flush.interval.ms=10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Copyright 2016 Confluent Inc. | |
# | |
# Licensed 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. | |
## | |
name=elasticsearch-sink | |
connector.class=io.confluent.connect.elasticsearch.ElasticsearchSinkConnector | |
tasks.max=1 | |
topics=PDB.SOE.LOGON2 | |
topic.schema.ignore=PDB.SOE.LOGON2 | |
topic.key.ignore=PDB.SOE.LOGON2 | |
schema.ignore=true | |
topic.index.map=PDB.SOE.LOGON2:soe.logon2 | |
key.ignore=true | |
connection.url=http://elastic-01-node-01:9200 | |
type.name=kafka-connect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment