Hi!
There is a DynamoDB compatible service called YDB.
YDB in the Yandex Cloud has a serverless mode with DynamoDB support..
So I have:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_KEY
- region: ru-central1
- endpoint like
https://docapi.serverless.yandexcloud.net/ru-central1/b1gia87mbaomkfvs6rgl/etnudu2n9ri35luqe4h1
I have tried using the ddb and ddb-local protocols with different settings.
Variants of aws-dynamodb-override-endpoint
1. docapi.serverless.yandexcloud.net/ru-central1/.../...
2. docapi.serverless.yandexcloud.net:443/ru-central1/.../...
3. https://docapi.serverless.yandexcloud.net/ru-central1/.../...
$ bin/datomic ensure-transactor config/ddb.properties config/ddb-gen.properties
java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in authority at index 7: http://"https://docapi.serverless.yandexcloud.net/ru-central1/b1g31q09ln3ca15cg5mf/etnckvjnbskiko1s639l"
at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:216)
at com.amazonaws.util.RuntimeHttpUtils.toUri(RuntimeHttpUtils.java:190)
at com.amazonaws.AmazonWebServiceClient.toURI(AmazonWebServiceClient.java:329)
at com.amazonaws.AmazonWebServiceClient.setEndpoint(AmazonWebServiceClient.java:317)
at datomic.ddb$client.invokeStatic(ddb.clj:14)
I think that ddb-local always uses http protocol and there is no way to configure it with https.
There are some examples of using AwsSDK with YDB in Yandex cloud
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard()
.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration("<Document API endpoint>", "ru-central1"))
.build();
Could you add support for DynamoDB compatible services?
Could it be the new `aws-dynamodb-override-protocol' setting, which is by default 'http' ?