Fork me on GitHub
#datomic
<
2021-01-26
>
onetom10:01:14

I just saw https://docs.datomic.com/cloud/releases.html#704-8957 > Upgrade: The version of the Presto server running on the access gateway is now 338. This includes an upgrade to Java 11 on the access gateway. It makes me wonder which Java version runs on the query groups? Where is that documented? (a quick googling for datomic cloud query group java version didn't answer it)

onetom10:01:59

my colleague was just trying to run https://github.com/gnarroway/hato within an ion (just to send a slack message) and he got a Syntax error compiling at (hato\/client.clj:1:1) error, which makes me suspect that query groups are still running on java8.

alexmiller13:01:25

I believe the source is in the Maven artifact for that one

onetom11:01:05

https://docs.datomic.com/cloud/client/client-api.html#client This documentation page says :server-type can be :ion OR :cloud It also says > See the ion server-type documentation for more details on the server-type. which links to https://docs.datomic.com/cloud/ions/ions-reference.html#server-type-ion but that page doesn't mention :cloud. The client API reference only mentions :cloud (besides :dev-local and :peer-server) https://docs.datomic.com/client-api/datomic.client.api.html#var-client Is there any difference between :ion and :cloud then? Which one is preferred?

Robert Randolph14:01:43

https://docs.datomic.com/cloud/ions/ions-reference.html#server-type-ion documents :ion as you mentioned. :cloud is for the scenario when you are in a cloud system and wish to connect to another system. We'll work on improving this documentation, thank you.

👍 6
onetom17:01:50

it hasn't even occurred to me, to have support for connecting from one Datomic system to another. I'm just starting to use multiple DBs on one system, from one ion process. :)

onetom11:01:29

related question: the ions-reference.html also says: > :endpoint "http://entry.<system-or-query-group-name>.<region>.http://datomic.net:8182/"    

onetom11:01:29

but that is the only mention of the word endpoint on the whole page. it doesn't seem to explain when do i need to use the system-name and when to use the query-group-name

stuartrexking23:01:16

The proxy seems to be setup correctly. When I test it trough curl it returns the bucket name and starter/get-client doesn’t throw an error.

stuartrexking01:01:11

I had incorrect config for region name. 🤐