Connection to Azure cosmos db using Go
Hi All, Asking this as a newbie to Graphs databases in general.
I have been trying to connect to an Azure Cosmos Graph database using Apache Tinkerpop SDK for Golang, but am unable to proceed because I can't get past the websocket 1011 error while trying to execute Gremlin queries. Any help would be appreciated.
I have been trying to connect to an Azure Cosmos Graph database using Apache Tinkerpop SDK for Golang, but am unable to proceed because I can't get past the websocket 1011 error while trying to execute Gremlin queries. Any help would be appreciated.
Solution
Ah OK - yes. Cosmos DB does not support Gremlin bytecode. It might be worth looking at this documentation: https://learn.microsoft.com/en-us/azure/cosmos-db/gremlin/support
They also seem to document that newer Gremlin clients will not work with CosmosDB. I suppose all you can really do is try it.
Queries will need to be submitted using the
They also seem to document that newer Gremlin clients will not work with CosmosDB. I suppose all you can really do is try it.
Queries will need to be submitted using the
Client.Submit.... type of approach though given "byte code" is not supported.Learn about the Gremlin language from Apache TinkerPop. Learn which features and steps are available in Azure Cosmos DB and the TinkerPop Graph engine compatibility differences.

