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)
- Add MongoDB Compass to the DevService / DevUI HOT 1
- Dockerfile*.native could attempt to COPY *.so files by default HOT 2
- Bump Microsoft SQL Server JDBC driver to 12.6.3
- `@NotEmpty`/`@NotNull` container element validators run against empty `Optional` HOT 2
- Allow for configuration of MAX_CONNECTION_AGE and MAX_CONNECTION_AGE_GRACE for gRPC server HOT 3
- Quarkus OIDC CredenitalsProvider does not follow conventions of allowing a separate "bean name" and "keyring name" HOT 4
- Test breaks when using a property in build > directory in pom.xml HOT 1
- Files with åäö in there name gets an inputstream that is null in MultipartForm uploads
- WebSockets Next - client: document TLS registry configuration HOT 4
- WebSockets Next: document the client API
- continous testing doesnt reload on changes in `.env` HOT 1
- Methods accessed reflectively starting with GraalVM for JDK 23+26 HOT 3
- Config Doc - LGTM doc is not expanded HOT 1
- [Extension Proposal] Quarkus Data Files HOT 3
- Kotlin Coroutine suspend function Integration uses single thread dispatcher HOT 1
- OTEL eventbus context HOT 1
- Spring-data throw JsonMappingException when using PageImpl HOT 3
- Overriding Kafka topic name using ENV variables fails with : SRMSG00071: Invalid channel configuration - the `connector` attribute must be set for channel HOT 5
- OidcClient concurrency test is a bit flaky
- Add Support for Caching List Results in Quarks Redis Cache HOT 1
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.