Skip to content

Commit bc11087

Browse files
committed
restore the content
1 parent fc70ea4 commit bc11087

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

modules/ROOT/pages/fabric/configuration.adoc

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,79 @@ A Neo4j DBMS is represented by its Bolt connector address.
195195
Example: `xref:reference/configuration-settings.adoc#config_fabric.routing.servers["fabric.routing.servers=server1:7687,server2:7687"]`.
196196
|===
197197

198+
=== Graph settings
198199

200+
[NOTE]
201+
--
202+
The `<ID>` in the following settings is the integer associated to each Fabric graph.
203+
--
204+
205+
.Fabric graph settings
206+
[options="header"]
207+
|===
208+
| Parameter | Description
209+
| `fabric.graph.<ID>.uri` | URI of the Neo4j DBMS hosting the database associated to the Fabric graph.
210+
Example: `neo4j://somewhere:7687`
211+
| `fabric.graph.<ID>.database` | Name of the database associated to the Fabric graph.
212+
| `fabric.graph.<ID>.name` | Name assigned to the Fabric graph.
213+
The name can be used in Fabric queries.
214+
| `fabric.graph.<ID>.driver.*` | Any specific driver setting, that means, any setting related to a connection to a specific Neo4j DBMS and database.
215+
This setting overrides a global driver setting.
216+
|===
217+
218+
[NOTE]
219+
--
220+
When configuring access to a remote DBMS, make sure that the remote is configured to advertise its address correctly, using either xref:reference/configuration-settings.adoc#config_dbms.default_advertised_address[`dbms.default_advertised_address`] or xref:reference/configuration-settings.adoc#config_dbms.connector.bolt.advertised_address[`dbms.connector.bolt.advertised_address`].
221+
Fabric reads the routing table from the remote DBMS and then connects back using an appropriate entry in that table.
222+
--
223+
224+
=== Drivers settings
225+
226+
Fabric uses the Neo4j Java driver to connect to and access the data stored in Neo4j databases associated to Fabric graphs.
227+
This section presents the most important parameters available to configure the driver.
228+
229+
Drivers settings are configured with parameters with names of the format:
230+
231+
`fabric.driver.<suffix>`
232+
233+
A setting can be global, i.e. be valid for all the drivers used in Fabric, or it can be specific for a given connection to a Neo4j database associated to a graph.
234+
The graph-specific setting overrides the global configuration for that graph.
235+
236+
.Global drivers setting versus graph-specific drivers setting
237+
====
238+
A drivers setting for Fabric as the following is valid for all the connections established with the Neo4j DBMSs set in Fabric:
239+
240+
[source, properties]
241+
----
242+
fabric.driver.api=RX
243+
----
244+
245+
A graph-specific connection for the database with `ID=6` will override the `fabric.driver.api` setting for that database:
246+
247+
[source, properties]
248+
----
249+
fabric.graph.6.driver.api=ASYNC
250+
----
251+
====
252+
253+
[cols="1,2a", options="header"]
254+
.Fabric drivers setting suffixes
255+
|===
256+
| Parameter suffix
257+
| Explanation
258+
| `ssl_enabled`
259+
| SSL for Fabric drivers is configured using the `fabric` SSL policy.
260+
This setting can be used to instruct the driver not to use SSL even though the `fabric` SSL policy is configured.
261+
The driver will use SSL if the `fabric` SSL policy is configured, and this setting is set to `true`.
262+
This parameter can only be used in `fabric.graph.<graph ID>.driver.ssl_enabled` and not `fabric.driver.ssl_enabled`.
263+
264+
| `xref:reference/configuration-settings.adoc#config_fabric.driver.api[api]`
265+
|Determine which driver API to be used.
266+
Supported values are `RX` and `ASYNC`.
267+
268+
|===
269+
270+
[NOTE]
271+
--
272+
Most driver options described in _Configuration_ in the link:{neo4j-docs-base-uri}[Neo4j Driver manuals] have an equivalent in Fabric configuration.
273+
--

0 commit comments

Comments
 (0)