File tree Expand file tree Collapse file tree 4 files changed +53
-7
lines changed Expand file tree Collapse file tree 4 files changed +53
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Build the connector using Maven:
25
25
mvn clean package
26
26
```
27
27
28
- Once built, the output is a single JAR called ` target/kafka-connect-mq-source-0.3 -SNAPSHOT-jar-with-dependencies.jar ` which contains all of the required dependencies.
28
+ Once built, the output is a single JAR called ` target/kafka-connect-mq-source-0.4 -SNAPSHOT-jar-with-dependencies.jar ` which contains all of the required dependencies.
29
29
30
30
31
31
## Running the connector
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ topic=TSOURCE
154
154
155
155
Change directory to the Kafka root directory. Start the connector worker replacing ` <connector-root-directory> ` :
156
156
``` shell
157
- CLASSPATH=< connector-root-directory> /target/kafka-connect-mq-source-0.3 -SNAPSHOT-jar-with-dependencies.jar bin/connect-standalone.sh config/connect-standalone.properties ~ /mq-source.properties
157
+ CLASSPATH=< connector-root-directory> /target/kafka-connect-mq-source-0.4 -SNAPSHOT-jar-with-dependencies.jar bin/connect-standalone.sh config/connect-standalone.properties ~ /mq-source.properties
158
158
```
159
159
160
160
Wait while the worker starts and then prints:
@@ -212,7 +212,7 @@ mq.password=passw0rd
212
212
213
213
Change directory to the Kafka root directory. Start the connector worker replacing ` <connector-root-directory> ` :
214
214
``` shell
215
- CLASSPATH=< connector-root-directory> /target/kafka-connect-mq-sink-0.3 -SNAPSHOT-jar-with-dependencies.jar bin/kafka-connect-standalone config/connect-standalone.properties ~ /mq-sink.properties
215
+ CLASSPATH=< connector-root-directory> /target/kafka-connect-mq-sink-0.4 -SNAPSHOT-jar-with-dependencies.jar bin/kafka-connect-standalone config/connect-standalone.properties ~ /mq-sink.properties
216
216
```
217
217
218
218
Wait while the worker starts and then prints:
Original file line number Diff line number Diff line change 20
20
<groupId >com.ibm.mq.kafkaconnect</groupId >
21
21
<artifactId >kafka-connect-mq-source</artifactId >
22
22
<packaging >jar</packaging >
23
- <version >0.3 -SNAPSHOT</version >
23
+ <version >0.4 -SNAPSHOT</version >
24
24
<name >kafka-connect-mq-source</name >
25
25
<organization >
26
26
<name >IBM Corporation</name >
102
102
</execution >
103
103
</executions >
104
104
<configuration >
105
- < descriptorRefs >
106
- < descriptorRef >jar-with-dependencies</ descriptorRef >
107
- </ descriptorRefs >
105
+ < descriptors >
106
+ < descriptor >src/assembly/package.xml</ descriptor >
107
+ </ descriptors >
108
108
</configuration >
109
109
</plugin >
110
110
</plugins >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ * Copyright 2018 IBM Corporation
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ -->
17
+ <assembly xmlns =" http://maven.apache.org/ASSEMBLY/2.0.0"
18
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
+ xsi : schemaLocation =" http://maven.apache.org/ASSEMBLY/2.0.0
20
+ http://maven.apache.org/xsd/assembly-2.0.0.xsd" >
21
+ <id >jar-with-dependencies</id >
22
+ <formats >
23
+ <format >jar</format >
24
+ </formats >
25
+ <includeBaseDirectory >false</includeBaseDirectory >
26
+ <files >
27
+ <file >
28
+ <source >LICENSE</source >
29
+ <outputDirectory ></outputDirectory >
30
+ </file >
31
+ </files >
32
+ <dependencySets >
33
+ <dependencySet >
34
+ <outputDirectory ></outputDirectory >
35
+ <unpack >true</unpack >
36
+ <unpackOptions >
37
+ <excludes >
38
+ <exclude >**/copyright-exclude</exclude >
39
+ <exclude >META-INF/maven/**</exclude >
40
+ </excludes >
41
+ </unpackOptions >
42
+ <useTransitiveFiltering >true</useTransitiveFiltering >
43
+ <scope >runtime</scope >
44
+ </dependencySet >
45
+ </dependencySets >
46
+ </assembly >
You can’t perform that action at this time.
0 commit comments