datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
onetom 2021-01-26T10:29:14.039200Z

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)

onetom 2021-01-26T10:30:59.040900Z

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.

onetom 2021-01-26T10:32:14.041800Z

we saw that the https://github.com/Datomic/ion-event-example/blob/master/src/datomic/ion/event_example.clj#L88-L118 is using cognitect.http, which is still not open source (at least i cant find it under https://github.com/cognitect?q=http&type=&language=)

onetom 2021-01-26T11:40:05.045700Z

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?

onetom 2021-01-26T11:41:29.046400Z

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

onetom 2021-01-26T11:42:29.047500Z

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

alexmiller 2021-01-26T13:12:25.048400Z

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

2021-01-26T14:13:43.051300Z

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.

👍 2
onetom 2021-01-26T17:41:50.054Z

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. :)

stuartrexking 2021-01-26T23:42:20.056700Z

I’m working through the Ion tutorial. When I get to the https://docs.datomic.com/cloud/ions/ions-tutorial.html#setup-db-and-load-dataset step I get an exception https://gist.github.com/stuartrexking/2edb397b72f0ced98e03069656bc3623

stuartrexking 2021-01-26T23:43:16.057900Z

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.