Fork me on GitHub
#xtdb
<
2022-05-08
>
dgb2321:05:28

I might be overlooking something, but since attributes have to be specified in xtdb queries: is this the way I would fetch all current documents in xtdb?

(let [db (xt/db main-node)]
    (doall (map (fn [[id]] (xt/entity db id))
                (xt/q db '{:find [id] :where [[_ :xt/id id]]}))))

nivekuil21:05:51

you can use (pull [￱*￱]) to get all the attributes in a doc

👍 2
dgb2322:05:55

For reference:

(xt/q (xt/db main-node) '{:find [(pull id [*])] :where [[_ :xt/id id]]})

dgb2322:05:03

thank you

steveb8n22:05:39

Q: has anyone done a comparison of MSK vs Confluent when used with XTDB. This announcement has me curious https://www.infoq.com/news/2022/05/aws-msk-apache-kafka/

refset23:05:37

News to me, but it looks like a promising development! Are you already using Kafka for XT or otherwise?

steveb8n23:05:27

I’m not yet using xtdb but trying to understand the myriad deployment options to see which fits my needs. generally I’m looking for the most managed service possible

👍 1
steveb8n23:05:26

and elastic for costs and perf