Comments (8)
/cc @geoand (devservices), @stuartwdouglas (devservices)
from quarkus.
There is a Debezium extension hosted in the Debezium project.
Maybe it would be a better place for it?
If so, probably a good idea to close this and open an issue on the DBZ side.
from quarkus.
from quarkus.
What would a generic Debezium extension provide?
from quarkus.
from quarkus.
Only Devservice to start debezium conneacting to DB devservice and Kafka
devservice
Hello, I don't think you do need a dev service for that, you need processor that configure Debezium connectors https://debezium.io/documentation/reference/stable/connectors/ based on Quarkus extensions configuration like DB Dev Services etc. Is that what you meant @lordofthejars or do you have something else in mind?
Problem with dev service is that it would only work for dev mode, but I think it would be better to be able to just add PG JDBC extension and have configured https://debezium.io/documentation/reference/stable/connectors/postgresql.html#postgresql-example-configuration like it was said here https://www.youtube.com/live/MQR1SLJVpgM?feature=shared&t=2635 and similarly for other connectors.
I'm playing with Debezium these days and I agree it could be much easier if it were integrated. As Debezium project decided to put Outbox extension in here https://github.com/debezium/debezium maybe it would be better to open issue there instead? I'm very much interested in this.
from quarkus.
What would a generic Debezium extension provide?
Only Devservice to start debezium conneacting to DB devservice and Kafka
devservice
+1
Ideally Kafka Connect https://debezium.io/documentation/reference/stable/configuration/avro.html#deploying-with-debezium-containers would be integrated with Apicurio Regisry (Dev svc) https://quarkus.io/guides/kafka-schema-registry-avro and so would database connectors so that I don't have to set connection string and start container manually etc.
from quarkus.
I have the bandwidth to implement it, and my idea would be to add it in as a quarkiverse project.
That's great. I had a look to Debezium project and Debezium server more carefully now (that is based on Quarkus runtime too) and I still think that if you will propose this in Debezium project, there is a chance this extension will have better quality because you will get review from people who write Debezium and who are obviously using Quarkus so they know thing or two.
For implementing this DevService I would like to find an example of a DevService that waits until other DevServices are up and running.
So the idea is to start Debezium engine when Dev Svcs like Kafka and Dbs are running, but why do you want to isolate it to DEV mode? How is situation different to production mode when you can gather same information in a same fashion? For example if Quarkus application has configured datasource or whether the datasource is configured by Dev Svc, they are still runtime configuration properties available when runtime config setup is complete (well, that's how I read the code, correct me if I'm wrong).
I need this as Debezium needs to start when the DB devservice and the Kafka devservice is up and running.
For Quarkus application, I consumed config props and it works but it's ugly
but since you are writing extension that is not a container, but a Java code, you can use lifecycle events to start it / stop or hookup on build items like RunningDevService
(bad option). If you really want to produce RunningDevService
then I don't know the way and I think you will need to tweak Db Dev Svcs and Kafka to be able to do that (like produce some build item).
There is one else thing - I tried PG Dev Svc and it doesn't work OOTB, I had to set quarkus.datasource.devservices.command=postgres -c wal_level=logical
so I think you will need to do more than just consume other dev svcs config, but I don't know Debezium that well.
Good luck!
from quarkus.
Related Issues (20)
- Provided or CompileOnly project dependencies declared in deployment don't have COMPILE_ONLY flag
- Build time performance regression and bigger native binaries when migrating from 3.5 to 3.6 or 3.7 HOT 43
- Resteasy-reactive Uni<Void> endpoint reported as "Run time writers required" HOT 2
- Elasticsearch container with dev services does not shut down HOT 9
- Include AssertJ with Quarkus releases HOT 1
- Logging unknown values when have special characters HOT 9
- OIDC Multitinancy by actual answer from teenant HOT 6
- Gradle Quarkus update not working and providing errors HOT 1
- [Extension Proposal] JPA Admin UI HOT 11
- Reactive Messaging Kafka: cannot connect to DLQ when using SASL protocol since 3.7 HOT 5
- RESTEasy Reactive Multipart struggles with non-file binary uploads HOT 8
- anonymous `SecurityIdentity` is not available inside background vertx worker, says "RequestScoped context was not active" HOT 9
- Elasticsearch container reuse creates a new container on each run HOT 1
- SmallRye Reactive Messaging brings in split package usage with leads to warnings logged HOT 9
- Native executable quarkus-amazon-lambda images built on Mac M1 Pro not working on AWS HOT 6
- indexing problems with some extensions? HOT 4
- QuerkusIntegrationTest can't instatiate strategy HOT 1
- Java 21: @VirtualThreadUnit produces very slow tests HOT 5
- entityManager.merge does not work in some cases HOT 9
- javax.sound.midi.MidiSystem not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus.