Java-Quarkus-Reactive-CQRS-EventSourcing
Vert.x
Java-Quarkus-Reactive-CQRS-EventSourcing | Vert.x | |
---|---|---|
1 | 46 | |
19 | 14,084 | |
- | 0.5% | |
0.0 | 9.5 | |
almost 2 years ago | 3 days ago | |
Java | Java | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Java-Quarkus-Reactive-CQRS-EventSourcing
-
Java Quarkus CQRS and EventSourcing microservice example 👋💫✨
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.
Vert.x
-
Spark – A web micro framework for Java and Kotlin
https://vertx.io/
It's actively maintained with full time developers, performant, supports Kotlin out of the box, and has more features?
-
Reactive database access on the JVM
Hibernate Reactive integrates with Vert.x, but an extension allows to bridge to Project Reactor if wanted
-
Looking for a coroutine-based message broker implementation for inter-app communication.
Have you looked at Vert.x?
-
What's the state of server-side frameworks with Kotlin support today for small teams?
Explicitly so:
-
Anything close beam/otp for other languages?
I really like Eclipse Vert.x... As both an Erlang dev and Java dev, it's a great synergy and soon to have support for Virtual Threads similar to BEAM.
-
Go doesn’t do any magical stuff and I love that
There are many lean, popular, non-magical libraries in Java land. (https://quarkus.io/, https://vertx.io/, etc). Spring is a monster 😱. Its like comparing Kubernetes (written in Go) with some lean framework in another lang.
- PFA vs SRL
-
Favorite hidden gem library?
Eclipse Vert.x - Add amazing Async to any Java stack
-
Codeberg a GitHub Alternative from Europe
Vert.X example: https://github.com/eclipse-vertx/vert.x/blob/master/src/main/java/examples/EventBusExamples.java#L106 (couldn't even find docs)
-
Quarkus fundamentals
In fact, it builds on top of proven standards such as Eclipse MicroProfile or frameworks such as Vert.x or JAX‑RS.
What are some alternatives?
gravitee-api-management - Gravitee.io - OpenSource API Management
Akka - Build highly concurrent, distributed, and resilient message-driven applications on the JVM
Quarkus - Quarkus: Supersonic Subatomic Java.
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
movieland - Full Stack Web App Example including Vue-Nuxt, Spring Boot, Grafana, Loki and Tempo
sourced - Tiny framework for building models with the event sourcing pattern (events and snapshots).
Micronaut - Micronaut Application Framework
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.
RxJava - RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
cqrs-example - Spring Boot CQRS Example (Docker, Apache Kafka, Zookeeper, MYSQL, MongoDB)
helidon - Java libraries for writing microservices