Configuration example for using the auto-configuration approach #641
Closed
anadimisra
started this conversation in
General
Replies: 1 comment
-
Hello @anadimisra , Mongock currently doesn't support auto-configuration with MongoDB Reactive Driver. You should use the builder approach. For more information, please take a look to our example: Mongock with Springboot + MongoDB Reactive Driver And the documentation Thanks for using Mongock. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While the documentation mentions an autoconfigure approach as well for runner, which is an alternative to building the runner, it's not clear how to activate the autoconfigure for Mongock. I'm passing the following properties, however my app fails to create an application runner and obviously no migrations run.
dependencies in my maven POM file.
When I add
@EnableMongock
annotation to the main spring boot application class I get the errorParameter 0 of method getBuilder in io.mongock.runner.springboot.config.MongockContext required a bean of type 'io.mongock.driver.api.driver.ConnectionDriver' that could not be found.
Beta Was this translation helpful? Give feedback.
All reactions