kafka-connect-mq-source | repository contains a Kafka Connect source connector | Stream Processing library
kandi X-RAY | kafka-connect-mq-source Summary
kandi X-RAY | kafka-connect-mq-source Summary
This repository contains a Kafka Connect source connector for copying data from IBM MQ into Apache Kafka.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- This method verifies that all messages in the MQ queue have been committed
- Puts all messages to a given queue
- Poll for records from the SourceTask
- Configure connector
- Verify the batch individual messages
- Commit a record
- Performs an authenticating queue manager
- Puts all messages into queue
- Builds a Kafka record from the JMS bytes message
- Gets the key to use for a Kafka SourceRecord
- Build from JMS map message
- Generates a set of configurations based on the current configuration
- Start the Connector
- Builds a Kafka record from a JMS message
- Builds a Kafka record from a JMS message
- Builds a Kafka record from a JMS map message
- Login JMQ CorrelationID with jqsource ID
- Builds a Kafka message
- Gets the value schema for a SourceRecord
- Test to see if the destination destination is valid
- Configure this class
- Verify message id as key is expected
- This test is used to validate JMS correlation ID bytes as expected by JMS source
- Verify JMS messages
- Verify JMS message headers
- Configuration for this connector
kafka-connect-mq-source Key Features
kafka-connect-mq-source Examples and Code Snippets
value.converter=org.apache.kafka.connect.converters.ByteArrayConverter
mq.message.body.jms=true
value.converter=org.apache.kafka.connect.converters.StringConverter
mq.message.body.jms=true
value.converter=org.apache.kafka.connect.converters.ByteArr
secret-key=password
# Additional properties for the worker configuration to enable use of ConfigProviders
# multiple comma-separated provider types can be specified here
config.providers=file
config.providers.file.class=org.apache.kafka.common.confi
docker run -v $(pwd)/config:/opt/kafka/config -p 8083:8083 kafkaconnect-with-mq-source:1.3.0
curl -X POST -H "Content-Type: application/json" http://localhost:8083/connectors \
--data "@./config/mq-source.json"
Community Discussions
Trending Discussions on kafka-connect-mq-source
QUESTION
I'm using https://github.com/ibm-messaging/kafka-connect-mq-source
project to build the connector to pull the data from IBM MQ to Kafka topic.
I'm seeing an issue where the supplied used-id
is getting modified to the system user
and authentication failed with the following error :
The MQ Admin reported that I'm supplying different user id.
I've configured to send MQUser
as userid(I'm executing this connector on linux server). But when it reaches MQ, the userid is modified to wljay
(which is the user I logged in on server)
ANSWER
Answered 2019-Sep-07 at 21:16The following line means that the user and password you provide will be sent in the MQCSP structure.
QUESTION
I am able to setup and run kafka on windows7 as mentioed, can you please help me with the steps to run the mq-connector or other connector jar on windows. thanks in advance
...ANSWER
Answered 2018-Sep-02 at 07:02I am answering to my own question, Here are the instructions to Setting Up and Running Apache Kafka on Windows7 OS and steps to run the mq-connector jar or any other connector on windows.
QUESTION
I have been trying to connect IBM MQ to Kafka on my Ubuntu. I want to get the messages from MQ to Kafka. I am trying to use a connector Link. I followed all the steps, but I keep on getting the following errors:
host name supplied is not valid.
and
JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2538' ('MQRC_HOST_NOT_AVAILABLE').
I tried everything, but nothing seems to work. If anyone has faced the same issue, please let me know.
My configuration includes the following line:-
...ANSWER
Answered 2018-Apr-27 at 20:29
- host name supplied is not valid.
- JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2538' ('MQRC_HOST_NOT_AVAILABLE').
The error message is pretty clear, the hostname/connection name is invalid.
That link you gave says that the "mq-source.properties" file has the connection information specified as:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kafka-connect-mq-source
You will need to put the public part of the client's certificate in the queue manager's key repository. You will also need to configure the worker's JVM with the location and password for the keystore containing the client's certificate. Alternatively, you can configure a separate keystore and truststore for the connector.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page