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

MongoDB Support via liquibase #45384

Closed
mcanzerini opened this issue Jan 6, 2025 · 4 comments
Closed

MongoDB Support via liquibase #45384

mcanzerini opened this issue Jan 6, 2025 · 4 comments
Labels
area/liquibase area/mongodb kind/question Further information is requested

Comments

@mcanzerini
Copy link

Hi,

According this documentation, the preferred way to do MongoDB migrations (manipulate indexes most of the cases) is to use the opensource liquibase extension.

The extension documentation tells that only MongoDB 5.x and 6.x are officially supported. In the quarkus documentation, I did not read anything about this limitation.

Alternatively, is there any way to create index on the fly with a @Indexed annotation on a field for instance?

I saw this issue was closed after the release of the liquibase support by quarkus, but now we have MongoDB 8.x with no support with liquibase extension.

Can you give me a feedback about that?

Thanks a lot 🙂

Copy link

quarkus-bot bot commented Jan 6, 2025

/cc @andrejpetras (liquibase), @geoand (liquibase), @gsmet (liquibase), @loicmathieu (mongodb)

@geoand
Copy link
Contributor

geoand commented Jan 7, 2025

Quarkus 3.18 will be tested against Mongo 7 but FWIW, there were no changes involved in the extension code itself, so older versions of the extension should work against newer MongoDB versions.

@geoand geoand closed this as completed Jan 7, 2025
@geoand geoand added the kind/question Further information is requested label Jan 7, 2025
@loicmathieu
Copy link
Contributor

Hi,
If the Liquibase MongoDB library (not the Quarkus extension) didn't support a version of MongoDB you are using, please open a discussion or an issue at their side.
In Quarkus, we support all versions of MongoDB as we use the latest version of the driver so there is nothing we can do if something is missing at Liquibase side.

@mcanzerini
Copy link
Author

Hi, If the Liquibase MongoDB library (not the Quarkus extension) didn't support a version of MongoDB you are using, please open a discussion or an issue at their side. In Quarkus, we support all versions of MongoDB as we use the latest version of the driver so there is nothing we can do if something is missing at Liquibase side.

Not sure to understand you, since quarkus documentation about liquibase tells:

Quarkus provides first class support for using Liquibase MongoDB Extension as will be explained in this guide.

So AFAIK, Quarkus relies on the liquibase support of MongoDB (obviously with the use of the liquibase-mongodb extension). That's why I asked my initial question about the quarkus support of MongoDB 7 and 8 with liquibase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/liquibase area/mongodb kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants