vertx / io.vertx.rxjava.servicediscovery.types / MongoDataSource / createRecord

# createRecord

`open static fun createRecord(name: String, location: JsonObject, metadata: JsonObject): Record`

Convenient method to create a record for a Mongo data source.

### Parameters

`name` - the service name

`location` - the location of the service (e.g. url, port...)

`metadata` - additional metadata

Return
the created record