Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.38 KB

File metadata and controls

21 lines (18 loc) · 1.38 KB

Overview

Simple java app that show how to work with Azure Cosmos DB with Graph(Gremlin) API, which provides a graph data model with Gremlin query/traversals.

Settings

Setting Suggested Value Description
hosts [***.gremlin.cosmosdb.azure.com] This is the Gremlin URI value.
port 443 Set the port to 443
username /dbs/<db>/colls/<coll> The resource of the form /dbs/<db>/colls/<coll> where <db> is your database name and <coll> is your collection name.
password primary_key This is primary key for connection
connectionPool {enableSsl: true} Your connection pool setting for SSL.
serializer { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0, config: { serializeResultToString: true }} Set to this value.

Links