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
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Build the connector using Maven:
46
46
mvn clean package
47
47
```
48
48
49
-
Once built, the output is a single JAR called `target/kafka-connect-mq-source-<version>-jar-with-dependencies.jar` which contains all of the required dependencies.
49
+
Once built, the output is a single JAR called `target/kafka-connect-mq-source-<VERSION>-jar-with-dependencies.jar` which contains all of the required dependencies.
50
50
51
51
## Running the connector
52
52
@@ -59,8 +59,8 @@ To run the connector, you must have:
59
59
60
60
- The JAR from building the connector
61
61
- A properties file containing the configuration for the connector
62
-
- Apache Kafka 2.0.0 or later, either standalone or included as part of an offering such as IBM Event Streams
63
-
- IBM MQ v8 or later, or the IBM MQ on Cloud service
62
+
- Apache Kafka 2.6.2 or later, either standalone or included as part of an offering such as IBM Event Streams
63
+
- IBM MQ v9 or later, or the IBM MQ on Cloud service
64
64
65
65
The connector can be run in a Kafka Connect worker in either standalone (single process) or distributed mode. It's a good idea to start in standalone mode.
This repository includes an example Dockerfile to run Kafka Connect in distributed mode. It also adds in the MQ source connector as an available connector plugin. It uses the default `connect-distributed.properties` and `connect-log4j.properties` files.
1.`docker run -p 8083:8083 kafkaconnect-with-mq-source:<TAG>`
97
+
98
+
Substitute `<TAG>` with the version of the connector or `latest` to use the latest version.
97
99
98
100
**NOTE:** To provide custom properties files create a folder called `config` containing the `connect-distributed.properties` and `connect-log4j.properties` files and use a Docker volume to make them available when running the container like this:
99
101
100
102
```shell
101
-
docker run -v $(pwd)/config:/opt/kafka/config -p 8083:8083 kafkaconnect-with-mq-source:1.3.3
103
+
docker run -v $(pwd)/config:/opt/kafka/config -p 8083:8083 kafkaconnect-with-mq-source:<TAG>
102
104
```
103
105
104
106
To start the MQ connector, you can use `config/mq-source.json` in this repository after replacing all placeholders and use a command like this:
0 commit comments