File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ tasks.register<Zip>("createConfluentArchive") {
411
411
description = " Creates the Confluent Archive zipfile to be uploaded to the Confluent Hub"
412
412
dependsOn(" prepareConfluentArchive" )
413
413
from(files(" $buildDir /confluentArchive" ))
414
- archiveBaseName.set(" mongodb " )
414
+ archiveBaseName.set(" " )
415
415
archiveAppendix.set(" kafka-connect-mongodb" )
416
416
archiveVersion.set(project.version.toString())
417
417
destinationDirectory.set(file(" $buildDir /confluent" ))
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ services:
72
72
CONNECT_STATUS_STORAGE_REPLICATION_FACTOR : " 1"
73
73
CONNECT_PLUGIN_PATH : /usr/local/share/kafka/plugins
74
74
volumes :
75
- - ../build/libs/ :/usr/local/share/kafka/plugins/
75
+ - ../build/confluent/kafka-connect-mongodb :/usr/local/share/kafka/plugins/
76
76
depends_on :
77
77
- zookeeper
78
78
- kafka
Original file line number Diff line number Diff line change 3
3
echo " Building the MongoDB Kafka Connector"
4
4
(
5
5
cd ..
6
- ./gradlew clean shadowJar
6
+ ./gradlew clean createConfluentArchive
7
+ echo -e " Unzipping the confluent archive plugin....\n"
8
+ unzip -d ./build/confluent/kafka-connect-mongodb ./build/confluent/* .zip
7
9
)
8
10
9
11
echo " Starting docker ."
You can’t perform that action at this time.
0 commit comments