datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
2021-04-17T06:18:59.321300Z

A user will generated events which serves two purposes:1. update the db. 2. tell downstream event handler.

2021-04-17T06:19:15.321700Z

I wonder if this thing is possible with Datomic alone instead of Datomic + Kafka.

2021-04-17T13:15:40.322900Z

You can process the transaction log and use it to trigger downstream events.

2021-04-17T13:15:54.323100Z

@i

2021-04-17T13:17:16.323300Z

Yup. Think about that too. Is it a production-used approach? Are you aware of any working example?

2021-04-17T13:41:48.323500Z

(time
  (do (mapv (fn [x] (update x :field :db/ident))
        corpus)
      nil))
"Elapsed time: 142.214586 msecs"
=> nil
For completionist sake:

2021-04-17T14:19:19.323700Z

Yeah, they use this to do decanting.