java - Configure Neo4j 1.9.3 in Spring for HighlyAvailableGraphDatabase (embedded) -


as of now, using neo4j 1.8.2 ep edition clustering 3 instances. used have below configuration spring application:

<bean id="graphdatabaseservice" class="org.neo4j.kernel.highlyavailablegraphdatabase"         destroy-method="shutdown" scope="singleton">         <constructor-arg name="storedir" index="0" value="e:/neo4j enterprise edition/db1/graph.db" />         <constructor-arg index="1">             <map>                 <entry key="ha.server_id" value="1" />                 <entry key="ha.pull_interval" value="10"></entry>                 <entry key="ha.server" value="192.168.1.10:6001" />                 <entry key="ha.coordinators" value="192.168.1.10:2181,192.168.1.7:2182" />             </map>         </constructor-arg>     </bean>     <neo4j:config graphdatabaseservice="graphdatabaseservice" /> 

but per new changes in neo4j 1.9.3 enterprise edition, zookeeper no longer used , coordinator not longer functional. how can reconfigure work neo4j 1.9.3 enterprise edition ? link/resources appreciated.. thanks.

to overcome did 2 changes:

  1. i replaced <entry key="ha.coordinators" <entry key="ha.initial_hosts".
  2. updated pom.xml neo4j-ha, neo4j-kernel, , neo4j-management , other neo4j related libs latest 1 i.e. 1.9.3 (initially 1.8.2)

and thats it. :)
thanks


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -