Fork me on GitHub
#datomic
<
2021-06-30
>
Leah Neukirchen10:06:43

Is it possible to override the S3 endpoint for datomic backup to use it with google cloud storage?

favila16:06:23

It may be possible if you can do it via some magic amazon s3 client override configuration. The last time I looked into this a few years ago there didn’t seem to be a way.

favila16:06:57

I think cognitect itself could do it fairly easily when they configure the s3 client in their code; but the trick for us is to do it without changing that code

favila16:06:36

I guess with enough reverse engineering, reflection, and monkey-patching anything is possible

Leah Neukirchen06:07:18

Yeah it needs a withEndpointConfiguration call to the builder... I'm not sure why they don't offer it, there are many other S3 providers. 😞

jacekschae16:06:51

For anyone here wondering about some resources to learn Datomic I have been working hard to put this together — there is still long way to go but definitely a good moment to share https://learndatomic.com

👍 6
datomic 6
pedrorgirardi07:07:01

That’s great @U8A5NMMGD! I’m keen to check it out once it’s available.

❤️ 3
joshkh16:06:36

what might be a cause of the following error?

(dl/import-cloud {:source {:server-type :ion
                           :region      "the-region"
                           :system      "the-system"
                           :query-group "the-query-group"
                           :db-name     "the-db"
                           :endpoint    ""
                           :proxy-port  8182}
                  :dest   {:system      "testing"
                           :server-type :dev-local
                           :db-name     "take-me-to-your-leader"}})
Execution error (IllegalArgumentException) at datomic.dev-local.impl/fn (impl.clj:490) .
This client does not support dev-local import.
that's with the latest com.datomic/dev-local {:mvn/version "0.9.232"} installed locally. strangely, other people on the team who are loading the same project and running the same function are not having issues