Debezium connector is broken in 2.3.0
See original GitHub issueSteps to reproduce
docker run -it -p 6650:6650 -p 8080:8080 apachepulsar/pulsar-all:2.3.0 /pulsar/bin/pulsar standalone
Error Log
00:06:01.073 [main] WARN org.apache.pulsar.functions.utils.io.ConnectorUtils - Failed to load connector from /pulsar/./connectors/pulsar-io-debezium-2.3.0.nar
java.nio.file.NoSuchFileException: /tmp/pulsar-nar/pulsar-io-debezium-2.3.0.nar-unpacked/META-INF/services/pulsar-io.yaml
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[?:1.8.0_181]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_181]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_181]
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) ~[?:1.8.0_181]
at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_181]
at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_181]
at java.nio.file.Files.readAllBytes(Files.java:3152) ~[?:1.8.0_181]
at org.apache.pulsar.common.nar.NarClassLoader.getServiceDefinition(NarClassLoader.java:198) ~[org.apache.pulsar-pulsar-common-2.3.0.jar:2.3.0]
at org.apache.pulsar.functions.utils.io.ConnectorUtils.getConnectorDefinition(ConnectorUtils.java:103) ~[org.apache.pulsar-pulsar-functions-utils-2.3.0.jar:2.3.0]
at org.apache.pulsar.functions.utils.io.ConnectorUtils.searchForConnectors(ConnectorUtils.java:123) [org.apache.pulsar-pulsar-functions-utils-2.3.0.jar:2.3.0]
at org.apache.pulsar.functions.worker.ConnectorsManager.<init>(ConnectorsManager.java:34) [org.apache.pulsar-pulsar-functions-worker-2.3.0.jar:2.3.0]
at org.apache.pulsar.functions.worker.WorkerService.start(WorkerService.java:159) [org.apache.pulsar-pulsar-functions-worker-2.3.0.jar:2.3.0]
at org.apache.pulsar.broker.PulsarService.startWorkerService(PulsarService.java:1042) [org.apache.pulsar-pulsar-broker-2.3.0.jar:2.3.0]
at org.apache.pulsar.broker.PulsarService.start(PulsarService.java:441) [org.apache.pulsar-pulsar-broker-2.3.0.jar:2.3.0]
at org.apache.pulsar.PulsarStandalone.start(PulsarStandalone.java:305) [org.apache.pulsar-pulsar-broker-2.3.0.jar:2.3.0]
at org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:102) [org.apache.pulsar-pulsar-broker-2.3.0.jar:2.3.0]
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Release Notes for Debezium 0.10
This release has been built against Kafka Connect 2.3.0 and has been tested with version ... When you decide to upgrade one of...
Read more >[Kafka connect] Transformations are not working #4672 - GitHub
Start The debezium Mysql connector ... "kafka-connect-topic" archive: "connectors/pulsar-io-kafka-connect-adaptor-2.3.0.nar" parallelism: 1 ...
Read more >confluent is throwing a error when using debezium postgres ...
Hi all,. I am facing a issue with the debezium postgresql connector and confluent community edition. Initial connection from the database via debezium...
Read more >debezium/dev - Gitter
Hi everyone, I've a question about Debezium MySQL connector. I see that alter table add column <col> ... MySQL Connector: 1.1.0.Final Kafka Connect:...
Read more >Debezium User Guide Red Hat Integration 2022.q3
How Debezium Db2 connectors perform database snapshots Expand section "3.2.1. ... Setting up Db2 to run a Debezium connector Expand section "3.5.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aahmed-se I don’t think you are using the right connector. you need to use
pulsar-io-kafka-connect-adaptor
instead of usingpulsar-io-debezium
. The documentation is here : http://pulsar.apache.org/docs/en/io-cdc/Additionally I think debezium module should not be packaged as a NAR. it is just a normal module for keeping debezium related code changes and a dependency for
pulsar-io-kafka-connect-adaptor
.Sent pull request #3656
It is a generic kafka-connect adaptor connector that invokes debezium. because debezium is too tied to Kafka connect.
We can add a few wrappers to wrap
kafka-connect-adaptor
to adebezium
connector if needed. /cc @jiazhai to see if he can help with that. However I think keeping a generickafka-connect-adaptor
connector will have its own value.