Class MongoServiceBindingConverter

  • All Implemented Interfaces:
    ServiceBindingConverter

    public class MongoServiceBindingConverter
    extends Object
    implements ServiceBindingConverter
    ServiceBindingConverter for MongoDB to support SBO (Service Binding Operator) in Quarkus. This class supports both the Standard and SRV connection string format for MongoDB depending on whether port is provided or not.
    Following individual properties are supported to make the connection string:
    • username
    • password
    • host
    • port
    • database
    Other than host all other properties are optinoal

    Only following options are supported by default:
    • retryWrites=true
    • w=majority