Skip to content

Commit ae6be3d

Browse files
committed
moved build to Maven
1 parent 40d4c60 commit ae6be3d

16 files changed

+296
-326
lines changed

config/connect-avro-docker-2.properties

Lines changed: 0 additions & 12 deletions
This file was deleted.

config/connect-avro-docker.properties

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,32 @@
1+
#
2+
# Copyright © 2017 Jeremy Custenborder ([email protected])
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# 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+
17+
# Sample configuration for a standalone Kafka Connect worker that uses Avro serialization and
18+
# integrates the the SchemaConfig Registry. This sample configuration assumes a local installation of
19+
# Confluent Platform with all services running on their default ports.
20+
# Bootstrap Kafka servers. If multiple servers are specified, they should be comma-separated.
121
bootstrap.servers=localhost:9092
222
key.converter=io.confluent.connect.avro.AvroConverter
3-
key.converter.schema.registry.url=http://localhost:8081
23+
key.converter.schema.registry.url=http://schema-registry:8081
424
value.converter=io.confluent.connect.avro.AvroConverter
5-
value.converter.schema.registry.url=http://localhost:8081
25+
value.converter.schema.registry.url=http://schema-registry:8081
626
internal.key.converter=org.apache.kafka.connect.json.JsonConverter
727
internal.value.converter=org.apache.kafka.connect.json.JsonConverter
828
internal.key.converter.schemas.enable=false
929
internal.value.converter.schemas.enable=false
1030
offset.storage.file.filename=/tmp/connect.offsets
1131
rest.port=10000
12-
plugin.path=target/kafka-connect-target/usr/share/kafka-connect
32+
plugin.path=target/components/packages

config/sink-string.properties

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name=sink
2+
topics=test
3+
tasks.max=1
4+
connector.class=com.redislabs.kafkaconnect.RedisEnterpriseSinkConnector
5+
key.converter=org.apache.kafka.connect.storage.StringConverter
6+
value.converter=org.apache.kafka.connect.storage.StringConverter
7+
redis.type=string
8+
redis.uri=redis://localhost:6379

config/sink.properties

Lines changed: 0 additions & 6 deletions
This file was deleted.

debug.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

docker-compose.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#
2+
# Copyright © 2017 Jeremy Custenborder ([email protected])
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# 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+
17+
version: "2"
18+
services:
19+
zookeeper:
20+
image: confluentinc/cp-zookeeper:5.2.1
21+
environment:
22+
ZOOKEEPER_CLIENT_PORT: 2181
23+
zk_id: "1"
24+
ports:
25+
- "2181:2181"
26+
kafka:
27+
hostname: kafka
28+
image: confluentinc/cp-kafka:5.2.1
29+
depends_on:
30+
- zookeeper
31+
ports:
32+
- "9092:9092"
33+
environment:
34+
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
35+
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://:9092"
36+
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
37+
schema-registry:
38+
image: confluentinc/cp-schema-registry:5.2.1
39+
depends_on:
40+
- kafka
41+
- zookeeper
42+
ports:
43+
- "8081:8081"
44+
environment:
45+
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181"
46+
SCHEMA_REGISTRY_HOST_NAME: schema-registry
47+
redis:
48+
image: redislabs/redismod
49+
ports:
50+
- "6379:6379"

gradle/wrapper/gradle-wrapper.jar

-57.8 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

gradlew

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)