Skip to content

Commit

Permalink
update confluent standalone example
Browse files Browse the repository at this point in the history
  • Loading branch information
elakito committed Dec 23, 2020
1 parent d2ad19e commit 1a29ba1
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 88 deletions.
1 change: 1 addition & 0 deletions examples/examples.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<include>persons2/**/*</include>
<include>persons3/**/*</include>
<include>persons4/**/*</include>
<include>persons6/**/*</include>
<include>persons1ds/**/*</include>
<include>persons1db/**/*</include>
<include>persons1ks/**/*</include>
Expand Down
16 changes: 16 additions & 0 deletions examples/persons6/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#
#
# make get_libs - build the go binary
#

DOCKER_TAG ?= latest
REPO_URL = https://repo1.maven.org/maven2
CONFLUENT_REPO_URL = https://packages.confluent.io/maven

.PHONY: get_libs
get_libs:
@echo "Getting jar files into target ..."
@mkdir -p target
@grep -v confluent libs.txt | while read -r line; do wget $(REPO_URL)/$$line -P target; done
@grep confluent libs.txt | while read -r line; do wget $(CONFLUENT_REPO_URL)/$$line -P target; done

3 changes: 2 additions & 1 deletion examples/persons6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ In order to use Apicurio registry, its client libraries must be placed in the co
Run the following command to download those jar files into the target directory.

```
$ mvn install
$ make get_libs
Getting jar files into target ...
...
$ ls target
avro-1.9.2.jar kafka-connect-avro-converter-5.4.2.jar
Expand Down
7 changes: 7 additions & 0 deletions examples/persons6/libs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com/sap/cloud/db/jdbc/ngdbc/2.5.49/ngdbc-2.5.49.jar
org/apache/avro/avro/1.9.2/avro-1.9.2.jar
io/confluent/kafka-connect-avro-converter/5.4.2/kafka-connect-avro-converter-5.4.2.jar
io/confluent/common-config/5.4.2/common-config-5.4.2.jar
io/confluent/common-utils/5.4.2/common-utils-5.4.2.jar
io/confluent/kafka-schema-registry-client/5.4.2/kafka-schema-registry-client-5.4.2.jar
io/confluent/kafka-avro-serializer/5.4.2/kafka-avro-serializer-5.4.2.jar
87 changes: 0 additions & 87 deletions examples/persons6/pom.xml

This file was deleted.

0 comments on commit 1a29ba1

Please sign in to comment.