how do we use the new npm gremlin package to connect to Cosmos DB as per the documentation:
http://tinkerpop.apache.org/docs/current/reference/#gremlin-javascript
const gremlin = require('gremlin');
const Graph = gremlin.structure.Graph;
const DriverRemoteConnection = gremlin.driver.DriverRemoteConnection;
const graph = new Graph();
const g = graph.traversal().withRemote(new DriverRemoteConnection('ws://localhost:8182/gremlin'));
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the feedback! I have assigned the issue to the content author to investigate and update as appropriate.
Hello @lucasmike, please follow the documentation on our getting started page here: https://docs.microsoft.com/en-us/azure/cosmos-db/create-graph-nodejs
The recommended driver for Node.js/Javascript is the gremlin-javascript version 2.7.0 since we don't support DriverRemoteConnection - but we're working on it!
Thanks,
Luis
@lucasmike hope Luis's explanation clarifies, please look forward for the upcoming releases. We will now proceed with closing this issue.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Is Azure CosmosDB planning to support DriverRemoteConnection client anytime?
Any updates on this? 😄
Any update on this?
Any update on this?
Most helpful comment
Is Azure CosmosDB planning to support DriverRemoteConnection client anytime?