Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Devservices for Cassandra #199

Open
BiggA94 opened this issue Sep 7, 2021 · 9 comments
Open

Feature Request: Add Devservices for Cassandra #199

BiggA94 opened this issue Sep 7, 2021 · 9 comments

Comments

@BiggA94
Copy link

BiggA94 commented Sep 7, 2021

Since Quarkus 2.0 there are DevServices for some Plugins (DBs, Kafka, etc., e.g. https://quarkus.io/guides/datasource#dev-services-configuration-free-databases), see https://quarkus.io/guides/dev-services. They start a Container in docker, where you don't have to config something for it to run.

Also needed for this is a way to create the Schema on startup, possibilities:

This would make usage of cassandra in Quarkus way easier, as one would not need to run multiple docker commands on every startup/change.

┆Issue is synchronized with this Jira Task by Unito

@edeandrea
Copy link

I would also like to see this.

@adutra
Copy link
Contributor

adutra commented Feb 24, 2022

Thanks for reporting this, we are going to evaluate the suggestion.

In the meanwhile, have you tried to use our test framework?

@edeandrea
Copy link

I haven't but Dev Services is more than providing a running container at test time. It also kicks in when running Quarkus Dev Mode.

@adutra
Copy link
Contributor

adutra commented Feb 24, 2022

I know :-) I was just suggesting a temporary workaround.

@maxandersen
Copy link

@adutra anything we can do to help here ?

@adutra
Copy link
Contributor

adutra commented May 13, 2022

@maxandersen unfortunately I'm very busy working for other projects right now and won't have time to look into this in a short-term time frame. If you have time to come up with a working prototype I'd be happy to review/test though.

@coiouhkc
Copy link

Hi @adutra , I recently gathered some experience writing a DevService for Mosquitto, is it OK if I try?

@adutra
Copy link
Contributor

adutra commented Apr 13, 2023

I recently gathered some experience writing a DevService for Mosquitto, is it OK if I try?

@coiouhkc absolutely, be my guest :-)

Also note that I'm not officially working on this project anymore, but I would gladly review your PR.

\cc @absurdfarce

coiouhkc pushed a commit to coiouhkc/cassandra-quarkus that referenced this issue Apr 25, 2023
@coiouhkc
Copy link

coiouhkc commented Apr 25, 2023

Started working on it in https://github.com/coiouhkc/cassandra-quarkus/tree/feature/cassandra-quarkus-199-devservices, will raise a PR, once review-ready.

coiouhkc pushed a commit to coiouhkc/cassandra-quarkus that referenced this issue Apr 25, 2023
coiouhkc pushed a commit to coiouhkc/cassandra-quarkus that referenced this issue Apr 25, 2023
coiouhkc pushed a commit to coiouhkc/cassandra-quarkus that referenced this issue Apr 25, 2023
coiouhkc pushed a commit to coiouhkc/cassandra-quarkus that referenced this issue Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants