简体   繁体   中英

How to connect neo4j with bolt protocol in gremlin-server?

I want to run gremlin-server and neo4j together.

So I make to run neo4j docker image in my machine, and try to connect it with BOLT protocol.

Could anyone help to configure .yaml/.property file in gremlin-server for this?

Used version | gremlin-server 3.4.0 & neo4j 3.2.3

The configuration options for the Graph instance property file can be found here . I'm not sure what the minimum requirements are for this provider, but from a TinkerPop perspective you need to at least specify the Graph instance with gremlin.graph and then include whatever other configurations you need to connect:

gremlin.graph=com.steelbridgelabs.oss.neo4j.structure.Neo4jGraphFactory
neo4j.hostname=...
neo4j.port=...

Then in the Gremlin Server yaml file you just reference the path to the above property file.

graphs: {
  graph: conf/bolt.properties}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM