File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ The driver is configured with some default values:
1313
1414<table >
1515<tr ><th >property-key</th ><th >description</th ><th >default value</th ></tr >
16- <tr ><td >arangodb.host</td ><td >ArangoDB host</td ><td >127.0.0.1</td ></tr >
17- <tr ><td >arangodb.port</td ><td >ArangoDB port</td ><td >8529</td ></tr >
16+ <tr ><td >arangodb.hosts</td ><td >ArangoDB hosts</td ><td >127.0.0.1:8529</td ></tr >
1817<tr ><td >arangodb.timeout</td ><td >socket connect timeout(millisecond)</td ><td >0</td ></tr >
1918<tr ><td >arangodb.user</td ><td >Basic Authentication User</td ><td ></td ></tr >
2019<tr ><td >arangodb.password</td ><td >Basic Authentication Password</td ><td ></td ></tr >
@@ -25,7 +24,7 @@ The driver is configured with some default values:
2524To customize the configuration the parameters can be changed in the code...
2625
2726``` Java
28- ArangoDB arangoDB = new ArangoDB .Builder (). host(" 192.168.182.50" ) . port( 8888 ). build();
27+ ArangoDB arangoDB = new ArangoDB .Builder (). host(" 192.168.182.50" , 8888 ). build();
2928
3029```
3130... or with a custom properties file (my.properties)
@@ -38,8 +37,7 @@ To customize the configuration the parameters can be changed in the code...
3837
3938Example for arangodb.properties:
4039``` Java
41- arangodb. host= 127.0 . 0.1
42- arangodb. port= 8529
40+ arangodb. hosts= 127.0 . 0.1 : 8529 ,127.0 . 0.1 : 8529
4341 arangodb. user= root
4442 arangodb. password=
4543
You can’t perform that action at this time.
0 commit comments