Anyone interested in a full Java DDD/CQRS example using the Event Store can take a look at this open source project:
It has two microservices (Command & Query) for each framework (Quarkus & Spring Boot) and also shows how to build aggregates, entities and that are stored in the Event Store using event sourcing.