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
We are using "Kafka connect mq sink" for sending message from AWS MSK Topic to MQ Manager (WebSphere MQ Ver: 7.5.0.6). The connector deployed in ECS Fargate. We are using below config to send message, unfortunately MQ Manager not receiving "JMSCorrelationID".
Kafka - AWS MSK
Connector version - v1.5.2
Task - AWS ECS Service
But when we sent same message to another MQ Manager with latest version (IBM MQ v9.2), it is working for them (they are receiving "JMSCorrelationID" as part of message).
Is there any minimum version requirement for MQ Manager, in order to use mq sink connector ?
If MQ Version is not supported, is there any alternative option to send "JMSCorrelationID" ?
The text was updated successfully, but these errors were encountered:
All MQ messages can have a correlation ID regardless of whether they are sent in "JMS format" or not. The only difference is that non-JMS correlation IDs can only be 24 bytes long as they have to fit in the MQMD. JMS format ones can be bigger if needed.
The link you posted about needing mq.message.body.jms=true to be set is I think referring to the topic/partition and offset which are message properties and therefore do need JMS format messages.
Hello,
We are using "Kafka connect mq sink" for sending message from AWS MSK Topic to MQ Manager (WebSphere MQ Ver: 7.5.0.6). The connector deployed in ECS Fargate. We are using below config to send message, unfortunately MQ Manager not receiving "JMSCorrelationID".
Kafka - AWS MSK
Connector version - v1.5.2
Task - AWS ECS Service
mq-sink.json
{
"name": "name-sink",
"config":
{
"connector.class": "com.ibm.eventstreams.connect.mqsink.MQSinkConnector",
"tasks.max": "1",
"topics": "topic name",
"key.converter": "org.apache.kafka.connect.storage.StringConverter",
"value.converter": "org.apache.kafka.connect.storage.StringConverter",
"mq.queue.manager": "XXXX",
"mq.connection.name.list": "XXXX",
"mq.channel.name": "XXXXX",
"mq.queue": "XXXXX",
"mq.message.body.jms": "false",
"mq.message.builder": "com.ibm.eventstreams.connect.mqsink.builders.DefaultMessageBuilder",
"mq.message.builder.key.header": "JMSCorrelationID",
"offset.storage.file.filename": "",
"mq.userid":"XXXXX"
}
}
But when we sent same message to another MQ Manager with latest version (IBM MQ v9.2), it is working for them (they are receiving "JMSCorrelationID" as part of message).
The text was updated successfully, but these errors were encountered: