-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
Snapshots collection name should be configurable #1169
Labels
Comments
👍 Nice Enhancement |
I want this. |
@SanderK79 please go on, we will accept your PR |
@SanderK79 thanks for the contribution. I have merged with some style fixes. Released in 6.6.0. Another feature would be to make it configurable in Spring Boot props. |
usage: MongoRepository mongoRepository = new MongoRepository(getMongoDb(),
mongoRepositoryConfiguration()
.withSnapshotCollectionName("jv_custom_snapshots")
.withHeadCollectionName("jv_custom_head_id")
.build()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
There is no option to configure the collection name of the jv_snapshots. So if multiple microservices are writing in multiple collections in that database all services are using the same jv_snapshots.
Describe the solution you'd like
Make it configurable which collection name should be used
Describe alternatives you've considered
none
Additional context
The text was updated successfully, but these errors were encountered: