You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-9Lines changed: 21 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,16 +10,21 @@ To build the connector, you must have the following installed:
10
10
*[Maven](https://maven.apache.org)
11
11
* Java 7 or later
12
12
13
-
In an empty directory, clone the repository:
13
+
Download the MQ client JAR by following the instructions in [Getting the IBM MQ classes for Java and JMS](https://www-01.ibm.com/support/docview.wss?uid=swg21683398). Once you've accepted the license, download the *IBM MQ JMS and Java redistributable client* file (currently called `9.0.0.1-IBM-MQC-Redist-Java.zip`). Unpack the ZIP file.
Download the MQ client JAR by following the instructions in [Getting the IBM MQ classes for Java and JMS](https://www-01.ibm.com/support/docview.wss?uid=swg21683398). Once you've accepted the license, download the *IBM MQ JMS and Java redistributable client* file (currently called `9.0.0.1-IBM-MQC-Redist-Java.zip`).
20
+
Change directory into the `kafka-connect-mq-source` directory:
21
+
```shell
22
+
cd kafka-connect-mq-source
23
+
```
19
24
20
-
Unpack the ZIP file and copy the JAR file `allclient-9.0.0.1.jar`into the top level directory into which you cloned the repository earlier.
25
+
Copy the JAR file `allclient-9.0.0.1.jar`that you unpacked from the ZIP file earlier into the `kafka-connect-mq-source` directory.
21
26
22
-
So this JAR file can be used as a dependency in building the connector, run the following command to create a local Maven repository containing just this file:
27
+
Run the following command to create a local Maven repository containing just this file so that it can be used to build the connector:
@@ -28,6 +33,7 @@ Build the connector using Maven:
28
33
```shell
29
34
mvn clean package
30
35
```
36
+
31
37
Once built, the output is a single JAR called `target/kafka-connect-mq-source-0.1-SNAPSHOT-jar-with-dependencies.jar` which contains all of the required dependencies.
32
38
33
39
@@ -61,13 +67,19 @@ When the MQ source connector reads a message from MQ, it chooses a schema to rep
61
67
There's no single configuration that will always be right, but here are some high-level suggestions.
62
68
63
69
* Pass unchanged binary data as the Kafka message value
The MQ source connector has a configuration option *mq.message.body.jms* that controls whether it interprets the MQ messages as JMS messages or regular MQ messages. By default, *mq.message.body.jms=false* which gives the following behaviour.
0 commit comments