Eventuate example applications

The Eventuate™ Platform for developing transactional microservices. It provides simple yet powerful event-driven programming models that solve the distributed data management problems inherent in a microservice architecture.

The platform supports two different programming models:


Eventuate Tram Spring Boot/JPA examplesnew

The Eventuate Tram and Eventuate Tram Sagas frameworks enable you to develop event-driven microservices that use traditional JDBC/JPA-based persistence.


Eventuate Event Sourcing examples

Eventuate lets you easily write microservices that use Event Sourcing and Command Query Responsibility Segregation (CQRS). Eventuate consists of a scalable, distributed event store server and client libraries for various languages and frameworks including Java, Scala, and the Spring framework. There are several example applications on github.com that illustrate how to use the Eventuate Platform.

Eventuate is available as either a service (SaaS) hosted on Amazon Web Services or as an open-source project that you can run locally.

  • Todo List application - the hello world application for the Eventuate™ Platform. It illustrates how you can use the platform to write an application that uses Event Sourcing and Command Query Responsibility Segregation (CQRS). The Todo List application lets users maintain a todo list.
  • Java version of the Orders and Customers example - an application that I’ve used in my talks (e.g. Gluecon 2016) to illustrate how to achieve eventual consistency using event sourcing.
  • AWS Lambda Java Echo - illustrates how you can write an AWS Lambda function that consumes Eventuate events. It is deployed using Serverless and subscribes to events published by the Todo List application described above.
  • AWS Lambda Todo List - the AWS Lambda version of the Todo List application described above. It consists of a set of lambdas that are deployed using Serverless.
  • Restaurant management - Food to Go is a fictitious, on-demand logistics company from Chris Richardson’s book POJOs in Action. It delivers takeout orders from restaurants to customers. A key part of the application is the restaurant management service, which maintains a database of restaurants that can be queried for availability to deliver an order to a customer at a particular time. This version of the restaurant management service has an architecture based on microservices, event sourcing and Command Query Responsibility Segregation (CQRS). It is written in Java and uses the Eventuate Platform, Spring Boot, and Redis.
  • Money Transfer - shows how to transfer money between two bank accounts using an event-driven, eventually consistent transaction. There are Java and Scala versions of the code. The application has a microservices architecture and is written using Spring Boot.
  • Kanban Board - an example of a real-time, multi-user collaborative application. The Kanban Board application enables users to collaboratively create and edit Kanban boards and tasks. Changes made by one user to a board or a task are immediately visible to other users viewing the same board or task. It has a microservices architecture and is written using Java and Spring Boot and uses MongoDB for materialized views. The application uses STOMP-over-WebSockets to push events from the event store to an AngularJS front-end.
  • Scala Customers and Orders - the example code from my Scala By the Bay 2015 presentation, which describes a Scala typeclass-based design for Aggregates that use Event Sourcing.

Stay in touch
Copyright © 2018 Eventuate, Inc • All rights reserved.