This plugin manages databases that are shared with other services on shuttle.
Add shuttle-shared-db
to the dependencies for your service. Every type of shareable database is behind the following feature flag and attribute path
| Engine | Feature flag | Attribute path | |----------|--------------|-----------------------------| | Postgres | postgres | shuttleshareddb::Postgres | | MongoDB | mongodb | shuttleshareddb::MongoDb |
An example using the Rocket framework can be found on GitHub