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)
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.
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=)
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?
related question:
the ions-reference.html
also says:
> :endpoint "http://entry.<system-or-query-group-name>.<region>.http://datomic.net:8182/"
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
I believe the source is in the Maven artifact for that one
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.
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. :)
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
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.