News for hackers. Stuff that matters.
Re:Show HN: Light implementation of Event Sourcing using Pos... by Salgat on Tuesday October 31, 2023 @11:51AM (#38086752)
As long as you're able to assert event version on write (and fail if the expected stream version is wrong), you're already ahead of Kafka on event sourcing capability.
Re:Show HN: Light implementation of Event Sourcing using Pos... by eugene-khyst on Tuesday October 31, 2023 @12:25PM (#38087328)
I tried to evaluate Kafka usage for event sourcing: <https://github.com/eugene-khyst/ksqldb-event-souring>. More out of curiosity. But never tried it in production.
Re:Show HN: Light implementation of Event Sourcing using Pos... by Salgat on Wednesday November 01, 2023 @11:47AM (#38099891)
Kafka doesn't have a way to assert stream version on event write, which is critical for CQRS. Without it, you can't guarantee stream state when processing a command without resorting to a singleton/locks which does not scale at all. Why Apache doesn't wish to support such a critical feature is beyond me though.

https://issues.apache.org/jira/browse/KAFKA-2260