mpollmeier / gremlin-scala

[unmaintained] Scala wrapper for Apache TinkerPop 3 Graph DSL
Apache License 2.0
482 stars 75 forks source link

Cosmos DB Support #232

Open vishnu667 opened 6 years ago

vishnu667 commented 6 years ago

CosmosDB by Azure supports Gremlin.

There are examples on how to connect to it using gremlin-driver. Cosmos Java Example

If we have to use your wrapper gremlin-scala for cosmos DB.

How can it be done?

Or if we can have a generic wrapper implementation over gremlin-driver

mpollmeier commented 6 years ago

I'm not familiar with CosmosDB, but the 'Java Example' is really just sending gremlin-groovy traversals as Strings over the wire. You can do the same in scala, but you don't need gremlin-scala for that. Also, it's a really bad idea IMO. If there's a way to send gremlin-bytecode that would change things.

aisven commented 5 years ago

We would be interested in Cosmos DB Support as well. Many companies are moving things onto Azure CosmosDB and similar Cloud PaaS offerings.

aisven commented 5 years ago

Links:

CosmosDB Graph capabilities and APIs https://docs.microsoft.com/en-us/azure/cosmos-db/graph-introduction

Gremlin Support https://docs.microsoft.com/en-us/azure/cosmos-db/gremlin-support

Blog Articles https://azure.microsoft.com/en-us/blog/tag/cosmos-db/