Fork me on GitHub
#xtdb
<
2020-08-07
>
jarohen08:08:19

Morning 🙂 We've deployed 1.10.1 today - we've fixed a few bugs and wanted to get them released. It's a non-breaking release, details of the bugfixes in the release notes as always https://github.com/juxt/crux/releases/tag/20.08-1.10.1. Have a good weekend!

🚀 6
timo11:08:36

anyone here has an example on how to use crux in java? I don't know much about Java

👍 3
refset11:08:23

Hi 🙂 this GitHub discussion has a few tips, if you hadn't seen it: https://github.com/juxt/crux/discussions/1012

timo11:08:00

cool, thanks

🙏 3
refset11:08:34

There have also been discussions about using Crux from Java on our Zulip chat that might help (including a few code snippets). May I ask which language are you most familiar with? We are keen to provide more language-specific client drivers

timo13:08:58

clojure:) but using a java webserver for a different project so needing to query crux from there

timo13:08:04

but http is fine anyway

timo13:08:23

I just thought it might be better to use java api but I will use http I guess

refset13:08:04

Ah, I see :) in case it helps to know, we're going to be upgrading the Java API with stronger types etc over the next few weeks, so a whole new wave of Java documentation isn't too far off

thanks2 3
timo11:08:02

I mean the java api obviously

timo15:08:43

is there some json http api? It is tough to use edn from java:sweat_smile:

refset15:08:14

Not quite yet - proper JSON support is also something we are working on over the next few weeks 🙂 In the meantime you could perhaps invoke jsonista or cheshire on the client from Java (or shell out to use https://github.com/borkdude/jet). You could also attempt to use the transit-json-verbose format that our endpoint can support, which uses jsonista internally, but the crux-http-server module doesn't officially support it right now (it might need enabling, I'm not certain)

timo15:08:52

didn't think about that