Java Quarkus CQRS and EventSourcing microservice example 👋💫✨

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Java-Quarkus-Reactive-CQRS-EventSourcing

    Java-Quarkus-Reactive-CQRS-EventSourcing

    Source code you can find in GitHub repository. The main idea of this project is the implementation of Event Sourcing and CQRS using Java, Quarkus with reactive Vertx, Postgresql and Kafka. Previously have written same articles where implemented the same microservice using Go and EventStoreDB, and Spring,as written before, repeat here, think EventStoreDB is the best choice for event sourcing, but in real life at some projects we usually have business restrictions and for example usage of the EventStoreDB can be not allowed, in this case, think postgres and kafka is good alternative for implementing our own event store. Didn't write in this article about Event Sourcing and CQRS patterns, the best place to read is microservices.io,blog and documentation of this article is very good too, and as written in the previous article, highly recommend Alexey Zimarev "Hands-on Domain-Driven Design with .NET Core" book and also his blog.

  • jaeger

    CNCF Jaeger, a Distributed Tracing Platform

    Flyway - database migrations.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Vert.x

    Vert.x is a tool-kit for building reactive applications on the JVM

    Reactive approach of Quarkus Vertex or Spring Reactor has some tradeoffs, not all libraries has good integration with it, like tracing, it's harder to debug, writing complicated business logic in reactive functional way is very specific and feels more difficult, and not only for writing and for reading too. Quarkus Vertex with Mutiny in my opinion has much better reactive API, documentation and production ready libraries.

  • Quarkus

    Quarkus: Supersonic Subatomic Java.

    Quarkus - Supersonic Subatomic Java.

  • prometheus

    The Prometheus monitoring system and time series database.

    Prometheus - Prometheus

  • Grafana

    The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

    Grafana - Grafana

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts