Giter VIP home page Giter VIP logo

Comments (4)

neverfox avatar neverfox commented on June 29, 2024 1

TBF, Kafka's own documentation says that it is suited for being an ES, if you set the persistence level to "forever". And since I'm not 100% on where queries have a place against the raw ES, it's possible that the OP has a point.

from cqrs-server.

CmdrDats avatar CmdrDats commented on June 29, 2024 1

Sorry - A bit late to the party on this one. The primary reason is that storage is dirt cheap, and you don't have to worry about the scale down the line. The basic querying becomes an automatic bonus down the line if you want to rerun a particular subset of events to build and aggregate.

If you can get the same thing with Kafka or have other reason for preferring using only Kafka, fine - I just felt dynamodb was a solid, cheap, long-term fire-and-forget event store solution.

from cqrs-server.

neverfox avatar neverfox commented on June 29, 2024

Doesn't Kafka only persist to some SLA that is usually in the range of days or weeks? While I guess you could configure it to be permanent (I'm not really sure), it doesn't seem to really be suited as a perpetual database. And then there are queries...

from cqrs-server.

jackdempsey avatar jackdempsey commented on June 29, 2024

@greywolve Neverfox is correct. Kafka is designed to store data on the order of days, not forever. It is also not a typically queryable datastore. Think of it as an awesome pipe to shove things through on their way to somewhere else.

from cqrs-server.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.