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:
13
13
14
14
<table >
15
15
<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 >
18
17
<tr ><td >arangodb.timeout</td ><td >socket connect timeout(millisecond)</td ><td >0</td ></tr >
19
18
<tr ><td >arangodb.user</td ><td >Basic Authentication User</td ><td ></td ></tr >
20
19
<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:
25
24
To customize the configuration the parameters can be changed in the code...
26
25
27
26
``` 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();
29
28
30
29
```
31
30
... or with a custom properties file (my.properties)
@@ -38,8 +37,7 @@ To customize the configuration the parameters can be changed in the code...
38
37
39
38
Example for arangodb.properties:
40
39
``` 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
43
41
arangodb. user= root
44
42
arangodb. password=
45
43
You can’t perform that action at this time.
0 commit comments