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
feat: support for copying Kafka headers to MQ message properties (#53)
This pull request introduces a new feature to the MQ Sink Connector.
If enabled, all headers on messages consumed from Kafka will be added to
messages put to MQ as string properties.
The feature is named to be consistent with the equivalent feature in
the MQ Source Connector (`mq.kafka.headers.copy.to.jms.properties` where
the Source Connector currently has
`mq.jms.properties.copy.to.kafka.headers`)
The new feature is disabled by default to maintain compatibility with
current behaviour.
Closes: #52
Signed-off-by: Dale Lane <dale.lane@uk.ibm.com>
This repository includes an example Dockerfile to run Kafka Connect in distributed mode. It also adds in the MQ sink 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-sink:1.4.0`
103
103
104
104
**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:
105
105
106
106
```shell
107
-
docker run -v $(pwd)/config:/opt/kafka/config -p 8083:8083 kafkaconnect-with-mq-sink:1.3.0
107
+
docker run -v $(pwd)/config:/opt/kafka/config -p 8083:8083 kafkaconnect-with-mq-sink:1.4.0
108
108
```
109
109
110
110
To start the MQ connector, you can use `config/mq-sink.json` in this repository after replacing all placeholders and use a command like this:
@@ -282,35 +282,36 @@ For troubleshooting, or to better understand the handshake performed by the IBM
282
282
## Configuration
283
283
The configuration options for the Kafka Connect sink connector for IBM MQ are as follows:
284
284
285
-
| Name | Description | Type | Default | Valid values |
0 commit comments