add port to config model for cqld4 adapter

This commit is contained in:
Jonathan Shook 2023-02-02 17:12:29 -06:00
parent cb073b0abd
commit b8f2067265
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 nosqlbench
* Copyright (c) 2022-2023 nosqlbench
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -284,6 +284,7 @@ public class Cqld4Space implements AutoCloseable {
.add(Param.optional("localdc"))
.add(Param.optional(List.of("secureconnectbundle", "scb")))
.add(Param.optional(List.of("hosts", "host")))
.add(Param.defaultTo("port",9041))
.add(Param.optional("driverconfig", String.class))
.add(Param.optional("username", String.class, "user name (see also password and passfile)"))
.add(Param.optional("userfile", String.class, "file to load the username from"))

View File

@ -58,6 +58,7 @@ nb5 ... driverconfig='http://gist.github.com...'
- **hosts** & **localdc** - (required unless using scb) - Set the endpoint and local datacenter name
for the driver.
- example: `host=mydsehost localdc=testdc1`
- **port** (optional for hosts) - Set the port to connect to for the CQL binary protocol.
- **driverconfig** - (explained above) - set the configuration source for the driver.
- **username** OR **userfile** - (optional, only one may be used) - If you need to specify a
username but want to put it in a file instead, simply use the `userfile=myfile` option. It is