Fork me on GitHub
#xtdb
<
2020-12-07
>
gklijs07:12:47

Just re-watched the re:Clojure crux part, since I could not watch it in full live. Are there any plans to add subscriptions for the GraphQL api?

refset23:12:41

A low-effort subscriptions feature (i.e. not a 3df-like / incremental dataflow implementation) is definitely on the cards in the near-term (perhaps Q1 and orthogonal to GraphQL initially). Along on the lines of: https://github.com/hasura/graphql-engine/blob/master/architecture/live-queries.md What's your domain? Are you thinking for pushing updates to frontend clients?

gklijs07:12:08

Don't really have a domain. Things I did on GraphQL subscriptions is more like research. But they are hairy. And for event sourcing I do need something streaming. Which is currently solved by directly using Kafka.

👍 3
dominicm08:12:04

I imagine the crux 3df stuff would be a prerequisite to that, but that would be cool.

nivekuil23:12:54

btw, this http endpoint only talks about a "kafka consumer" but seems to work for jdbc as well. Seems like a very handy way to do a healthcheck to know when the container is ready for traffic https://opencrux.com/reference/http.html#sync

✔️ 3