Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for HA when using Embedded Driver #142
┆Issue is synchronized with this Asana task
You can now add an additional config setting to the ogm.properties file, e.g:
The EmbeddedDriver will detect this configuration setting and pass the associated properties file to the HighlyAvailableGraphDatabaseFactory. In the absence of this property, the community GraphDatabaseFactory will be used instead.
Example neo4j-ha.properties file, that will start a single-node high-availability instance:
You can call the ha properties file referenced by the config setting whatever you like, but it must be on the classpath.
Supports Neo4j 2.3.x and Neo4j 3.0.x and available in the latest 2.1.0-SNAPSHOT release