-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved to version 2.0.0-cp1. Fixes #7.
- Loading branch information
1 parent
839d009
commit b42c393
Showing
27 changed files
with
303 additions
and
191 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
This maven quickstart is used to generate a skeleton plugin for Kafka Connect. | ||
![Maven Central](https://img.shields.io/maven-central/v/com.github.jcustenborder.kafka.connect/kafka-connect-quickstart.svg) | ||
|
||
This maven quickstart is used to generate a skeleton plugin for Kafka Connect. Look | ||
[here](https://search.maven.org/search?q=g:com.github.jcustenborder.kafka.connect%20AND%20a:kafka-connect-quickstart&core=gav) | ||
for a list of available versions. | ||
|
||
|
||
``` | ||
mvn archetype:generate -DarchetypeGroupId=com.github.jcustenborder.kafka.connect -DarchetypeArtifactId=kafka-connect-quickstart -DarchetypeVersion=0.10.2.1-cp2 | ||
mvn archetype:generate \ | ||
-DarchetypeGroupId=com.github.jcustenborder.kafka.connect \ | ||
-DarchetypeArtifactId=kafka-connect-quickstart \ | ||
-DarchetypeVersion=2.0.0-cp1 | ||
``` | ||
|
||
``` | ||
mvn archetype:generate -DarchetypeGroupId=com.github.jcustenborder.kafka.connect -DarchetypeArtifactId=kafka-connect-quickstart -DarchetypeVersion=0.10.2.1-cp2 -Dpackage=io.confluent.examples -DgroupId=io.confluent.examples -DartifactId=testconnect -DpackageName=io.confluent.examples -Dversion=1.0-SNAPSHOT | ||
mvn archetype:generate \ | ||
-DarchetypeGroupId=com.github.jcustenborder.kafka.connect \ | ||
-DarchetypeArtifactId=kafka-connect-quickstart \ | ||
-DarchetypeVersion=2.0.0-cp1 \ | ||
-Dpackage=com.github.jcustenborder.kafka.connect.test \ | ||
-DgroupId=com.github.jcustenborder.kafka.connect \ | ||
-DartifactId=testconnect \ | ||
-DpackageName=com.github.jcustenborder.kafka.connect.test \ | ||
-Dversion=1.0-SNAPSHOT | ||
``` | ||
|
||
See https://search.maven.org/#search%7Cga%7C1%7Ca%3A%22kafka-connect-quickstart%22 for a list of available archetypes |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,63 @@ | ||
# | ||
# Copyright © 2017 Jeremy Custenborder ([email protected]) | ||
# | ||
# 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. | ||
# | ||
|
||
version: "2" | ||
services: | ||
zookeeper: | ||
image: confluentinc/cp-zookeeper:3.2.2-1 | ||
image: confluentinc/cp-zookeeper:5.0.0 | ||
environment: | ||
ZOOKEEPER_CLIENT_PORT: 2181 | ||
zk_id: "1" | ||
ports: | ||
- "2181:2181" | ||
kafka: | ||
hostname: kafka | ||
image: confluentinc/cp-kafka:3.2.2-1 | ||
image: confluentinc/cp-enterprise-kafka:5.0.0 | ||
links: | ||
- zookeeper | ||
- zookeeper | ||
ports: | ||
- "9092:9092" | ||
- "9092:9092" | ||
environment: | ||
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" | ||
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://:9092" | ||
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 | ||
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1 | ||
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1 | ||
schema-registry: | ||
image: confluentinc/cp-schema-registry:3.2.2-1 | ||
image: confluentinc/cp-schema-registry:5.0.0 | ||
links: | ||
- kafka | ||
- zookeeper | ||
- kafka | ||
- zookeeper | ||
ports: | ||
- "8081:8081" | ||
- "8081:8081" | ||
environment: | ||
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181" | ||
SCHEMA_REGISTRY_HOST_NAME: schema-registry | ||
SCHEMA_REGISTRY_HOST_NAME: schema-registry | ||
control-center: | ||
image: confluentinc/cp-enterprise-control-center:5.0.0 | ||
depends_on: | ||
- zookeeper | ||
- kafka | ||
- schema-registry | ||
ports: | ||
- "9021:9021" | ||
environment: | ||
CONTROL_CENTER_BOOTSTRAP_SERVERS: "kafka:9092" | ||
CONTROL_CENTER_ZOOKEEPER_CONNECT: "zookeeper:2181" | ||
CONTROL_CENTER_CONNECT_CLUSTER: 'connect:8083' | ||
CONTROL_CENTER_REPLICATION_FACTOR: 1 | ||
CONTROL_CENTER_CONFLUENT_CONTROLCENTER_SCHEMA_REGISTRY_URL: "http://schema-registry:8081" | ||
CONTROL_CENTER_SCHEMA_REGISTRY_URL: "http://schema-registry:8081" |
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
Oops, something went wrong.