JanusGraph / janusgraph

JanusGraph: an open-source, distributed graph database
https://janusgraph.org
Other
5.32k stars 1.17k forks source link

Add support for CQL withAddressTranslator builder option. #1942

Open jackson-chris opened 4 years ago

jackson-chris commented 4 years ago

Describe the feature: Support for CQL withAddressTranslator builder option. The feature will add a Translator Implementation to the janusgraph-cql backend project that will consume additional options in the stroage.cql family of configuration properties to map external to internal addresses.

Describe a specific use case for the feature: Some deployments of CQL backends rely on being able to resolve internal host names, this is achieved by using the .withAddressTranslator option for the CQL cluster builder. For instance consuming Scylla on IBM Compose requires address translation, see: https://help.compose.com/docs/scylla-address-translation-maps for details.

jackson-chris commented 4 years ago

I'll work on a PR for this.