[WIP] prelim set-up of resources to test kafka-connect source/sink demo #69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@solsson
In an attempt to take your
addon-connect
branch a step further, I branched toconnect-test-debezium
(this PR) in order to test the set-up in this blog, which seeks to use a debezium source connector for mySQL and a confluent JDBC sink connector.I created a basic helm chart outside this repo to initially test, which was based on this docker-compose file and was essentially using the various debezium images, which themselves are built on top of the confluent ones, as far as I understand. This appeared to work well in terms of getting changes in mySQL flowing to postgres.
I then tried to get things working with the same resources in here (although not structured as a helm chart) using your pre-existing set-up for kafka, zookeeper, rest and schema-registry. However, the connect image is based on the Dockerfile in the PR, which itself is a replica of this one.
Initially, I was getting a problem with
Exception in thread "main" org.apache.kafka.common.config.ConfigException: Invalid value tcp://10.7.245.223:80 for configuration rest.port: Not a number of type INT
(see below), where somehow that tcp address above was getting set as an ENV VARIABLEKAFKA_PORT
. So I addedREST_PORT
key/value in theconnect-deployment.yaml
which seems to have overcome that problem.However, as per this gist, there is still something causing the connector to crash and I was wondering if you might have any insights. It could be down to something with the connector image (built on a debezium image with a confluent plugin/connector on-board) that is somehow not sitting well with your
solsson
images. Would you have any thoughts on what might be going on here? Thanks.