[WIP] prelim set-up of resources to test kafka-connect source/sink demo#69
Closed
Analect wants to merge 1 commit intoYolean:addon-connectfrom
Closed
[WIP] prelim set-up of resources to test kafka-connect source/sink demo#69Analect wants to merge 1 commit intoYolean:addon-connectfrom
Analect wants to merge 1 commit intoYolean:addon-connectfrom
Conversation
Contributor
|
Haven't got time to test on my own now, so I jump to the conclusion that this is a case in point (of the argument I made here) that using Doesn't the log show effective configurations, prior to the stuff in the gist? Both Kafka and Confluent's components tend to do so, and it is highly useful. For example from the KSQL experiment I see: |
solsson
added a commit
that referenced
this pull request
Dec 1, 2017
rather than a couple of sentences. In response to #103. Regarding Kafka Streams I no longer think we need examples, because any dockerized streams application can run as a deployment. An example of Kafka Connect would be useful, in particular the combination of a custom image (or one with stock connectors) and a Connect cluster manifest. This is tracked in #69, but not the relation to https://github.com/solsson/dockerfiles/tree/master/connect-* KSQL (#68) is highly interesting.
Contributor
|
Please reopen if this is still relevant. I'm going through PRs for the v5.0 i.e. Kafka 2.1 on JDK 11. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-connectbranch 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_PORTkey/value in theconnect-deployment.yamlwhich 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
solssonimages. Would you have any thoughts on what might be going on here? Thanks.