O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Event sourcing with Eventuate

2.401 visualizações

Publicada em

Event sourcing captures all changes to application state as a sequence of events. These events are persisted in an event log and can be replayed to recover application state where as Eventuate is a toolkit for building applications composed of event-driven and event-sourced services that communicate via causally ordered event streams.

Publicada em: Software
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

Event sourcing with Eventuate

  1. 1. Event sourcing with EventuateEvent sourcing with Eventuate Dhirendra Kumar Kashyap Software Consultant Knoldus Software LLP Dhirendra Kumar Kashyap Software Consultant Knoldus Software LLP
  2. 2.  What is Event sourcing  Why Event sourcing  Command Query Responsibility Segregation (CQRS).  What is Eventuate  Coding with Eventuate  Demo  What is Event sourcing  Why Event sourcing  Command Query Responsibility Segregation (CQRS).  What is Eventuate  Coding with Eventuate  Demo Agenda
  3. 3.  Events happen in the past For example, "the seat was reserved," "the cash was dispensed." Notice how we describe these events using the past tense  Events are immutable facts that are only ever appended to an event log.  Event sourcing captures all changes to application state as a sequence of events.  These events are persisted in an event log and can be replayed to recover application state  Events happen in the past For example, "the seat was reserved," "the cash was dispensed." Notice how we describe these events using the past tense  Events are immutable facts that are only ever appended to an event log.  Event sourcing captures all changes to application state as a sequence of events.  These events are persisted in an event log and can be replayed to recover application state What is Event sourcing
  4. 4. A/C Name Balance 016789 Bob 10 012345 Johan 20 Event Debit Credit Debit  How should manage your Bank account balance . 1. Column in a sheet/table . 2. It should be sum of all credit and debit . Why Event sourcing
  5. 5.  C (Command) – Insert,Update,Delete And  Q(query) - Select Command Query Responsibility Segregation (CQRS)
  6. 6.  Eventuate is a toolkit for building applications composed of event- driven and event-sourced services that communicate via causally ordered event streams. Services can either be co-located on a single node or distributed up to global scale.  Eventuate has a Java and Scala API, is written in Scala and built on top of Akka, a toolkit for building highly concurrent, distributed, and resilient message-driven applications on the JVM.  Eventuate provides plugins for a Cassandra storage backend and a LevelDB storage backend.  Eventuate is a toolkit for building applications composed of event- driven and event-sourced services that communicate via causally ordered event streams. Services can either be co-located on a single node or distributed up to global scale.  Eventuate has a Java and Scala API, is written in Scala and built on top of Akka, a toolkit for building highly concurrent, distributed, and resilient message-driven applications on the JVM.  Eventuate provides plugins for a Cassandra storage backend and a LevelDB storage backend. What is Eventuate
  7. 7.  Build.sbt Coding with Eventuate
  8. 8.  Eventuate Settings Coding with Eventuate
  9. 9. Coding with EventuateCoding with Eventuate  Commands
  10. 10.  Query Coding with Eventuate
  11. 11. https://martinfowler.com/eaaDev/EventSourcing.html https://rbmhtechnology.github.io/eventuate/index.html References
  12. 12. Thank youThank you

×