Skip to content

Commit

Permalink
v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ckyrouac committed Nov 22, 2019
1 parent 1541a1f commit 958a63d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ Use it in connector config file like this:
Use dot notation for deeper fields (e. g. `level1.level2`).

## Install to Kafka Connect
After build copy file `target/kafka-connect-smt-expandjsonsmt-0.0.3-assemble-all.jar`
After build copy file `target/kafka-connect-smt-expandjsonsmt-0.0.5-assemble-all.jar`
to Kafka Connect container `` copying to its docker image or so.

It can be done adding this line to Dockerfile:
~~~Dockerfile
COPY ./target/kafka-connect-smt-expandjsonsmt-0.0.3-assemble-all.jar $KAFKA_CONNECT_PLUGINS_DIR
COPY ./target/kafka-connect-smt-expandjsonsmt-0.0.5-assemble-all.jar $KAFKA_CONNECT_PLUGINS_DIR
~~~

Or download current release:
~~~Dockerfile
RUN curl -fSL -o /tmp/plugin.tar.gz \
https://github.com/RedHatInsights/expandjsonsmt/releases/download/0.0.3/kafka-connect-smt-expandjsonsmt-0.0.3.tar.gz && \
https://github.com/RedHatInsights/expandjsonsmt/releases/download/0.0.5/kafka-connect-smt-expandjsonsmt-0.0.5.tar.gz && \
tar -xzf /tmp/plugin.tar.gz -C $KAFKA_CONNECT_PLUGINS_DIR && \
rm -f /tmp/plugin.tar.gz;
~~~
Expand Down
2 changes: 1 addition & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ RUN mkdir $KAFKA_CONNECT_ES_DIR && cd $KAFKA_CONNECT_ES_DIR &&\
curl -sO http://central.maven.org/maven2/io/searchbox/jest-common/2.0.0/jest-common-2.0.0.jar && \
curl -sO http://central.maven.org/maven2/com/google/code/gson/gson/2.4/gson-2.4.jar

COPY ./target/kafka-connect-smt-expandjsonsmt-0.0.4-assemble-all.jar $KAFKA_CONNECT_PLUGINS_DIR
COPY ./target/kafka-connect-smt-expandjsonsmt-0.0.5-assemble-all.jar $KAFKA_CONNECT_PLUGINS_DIR
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.redhat.insights.expandjsonsmt</groupId>
<artifactId>kafka-connect-smt-expandjsonsmt</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>

<repositories>
<repository>
Expand Down

0 comments on commit 958a63d

Please sign in to comment.