File tree Expand file tree Collapse file tree 7 files changed +41
-8
lines changed
connect-file-pulse-filters
connect-file-pulse-plugin Expand file tree Collapse file tree 7 files changed +41
-8
lines changed Original file line number Diff line number Diff line change 1
1
FROM confluentinc/cp-kafka-connect-base:5.2.1
2
2
3
- COPY connect-file-pulse-plugin/target/components/packages/streamthoughts-kafka-connect-file-pulse-plugin- 1.2.1 .zip /tmp/kafka-connect-file-pulse.zip
3
+ COPY connect-file-pulse-plugin/target/components/packages/streamthoughts-kafka-connect-file-pulse-1.2.2 .zip /tmp/kafka-connect-file-pulse.zip
4
4
RUN confluent-hub install --no-prompt /tmp/kafka-connect-file-pulse.zip && \
5
5
rm -rf /tmp/kafka-connect-file-pulse.zip
6
6
Original file line number Diff line number Diff line change
1
+ # Makefile used to build docker images for Connect File Pulse
2
+
3
+ CONNECT_VERSION := $(shell mvn org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate -Dexpression=project.version -q -DforceStdout)
4
+
5
+ REPOSITORY = streamthoughts
6
+ IMAGE = kafka-connect-file-pulse
7
+
8
+ .SILENT :
9
+
10
+ all : build-images clean-build
11
+
12
+ clean-containers :
13
+ echo " Cleaning containers \n========================================== " ;
14
+
15
+ clean-images :
16
+ echo " Cleaning images \n========================================== " ;
17
+ for image in ` docker images -qf " label=io.streamthoughts.docker.name" ` ; do \
18
+ echo " Removing image $$ {image} \n==========================================\n " ; \
19
+ docker rmi -f $${image} || exit 1 ; \
20
+ done
21
+
22
+ clean-build :
23
+ echo " Cleaning build directory \n========================================== " ;
24
+ rm -rf ./docker-build;
25
+
26
+ build-images :
27
+ echo " Building image \n========================================== " ;
28
+ echo " CONNECT_VERSION=" $(CONNECT_VERSION )
29
+ echo " ==========================================\n "
30
+ mvn clean package && \
31
+ docker build \
32
+ -t ${REPOSITORY} /${IMAGE} :latest . || exit 1 ;
33
+ docker tag ${REPOSITORY} /${IMAGE} :latest ${REPOSITORY} /${IMAGE} :${CONNECT_VERSION} || exit 1 ;
34
+
35
+ clean : clean-containers clean-images clean-build
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >io.streamthoughts</groupId >
9
9
<artifactId >kafka-connect-file-pulse-reactor</artifactId >
10
- <version >1.2.1 </version >
10
+ <version >1.2.2 </version >
11
11
</parent >
12
12
13
13
<artifactId >kafka-connect-file-pulse-api</artifactId >
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >io.streamthoughts</groupId >
9
9
<artifactId >kafka-connect-file-pulse-reactor</artifactId >
10
- <version >1.2.1 </version >
10
+ <version >1.2.2 </version >
11
11
</parent >
12
12
13
13
<artifactId >kafka-connect-file-pulse-filters</artifactId >
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >io.streamthoughts</groupId >
9
9
<artifactId >kafka-connect-file-pulse-reactor</artifactId >
10
- <version >1.2.1 </version >
10
+ <version >1.2.2 </version >
11
11
</parent >
12
12
13
13
<artifactId >kafka-connect-file-pulse-plugin</artifactId >
Original file line number Diff line number Diff line change @@ -45,9 +45,7 @@ services:
45
45
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL : ' zookeeper:2181'
46
46
47
47
connect-file-pulse :
48
- build :
49
- context : .
50
- dockerfile : Dockerfile
48
+ image : streamthoughts/kafka-connect-file-pulse:latest
51
49
container_name : connect
52
50
depends_on :
53
51
- cp-schema-registry
Original file line number Diff line number Diff line change 7
7
<groupId >io.streamthoughts</groupId >
8
8
<artifactId >kafka-connect-file-pulse-reactor</artifactId >
9
9
<packaging >pom</packaging >
10
- <version >1.2.1 </version >
10
+ <version >1.2.2 </version >
11
11
12
12
<name >Kafka Connect Source File Pulse Reactor</name >
13
13
<description >Connect File Pulse is a multi-purpose source connector for streaming files from a local filesystem to Kafka.</description >
You can’t perform that action at this time.
0 commit comments