Get Started
Run the server, add a library, start your components. A RECQ system needs a Message Gateway and a System State Store, and Evento Server gives you both.
Docker
1 · Run Evento Server
The server ships as a Docker image backed by Postgres. This compose file gives you a full development environment, with the API and the console on port 3000 and the component bus on 3030:
services:
evento-db:
image: 'postgres:latest'
restart: always
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=evento
volumes:
- ./data/postgres:/var/lib/postgresql/data/
evento-server:
image: 'eventoframework/evento-server:latest'
restart: on-failure
depends_on:
- evento-db
environment:
# A local try-out: production needs a bus token, TLS, an allowlist and
# real passwords (the server refuses to start without them since 3.0).
- EVENTO_SERVER_SECURITY_PROFILE=dev
- evento_cluster_name=evento-server
- evento_performance_capture_rate=1
- evento_telemetry_ttl=365
- evento_security_signing_key=MY_JWT_SECRET_TOKEN_SEED
- spring_datasource_url=jdbc:postgresql://evento-db:5432/evento
- spring_datasource_username=postgres
- spring_datasource_password=secret
ports:
- '3000:3000'
- '3030:3030'
There's nothing to upload and no deployment script to write: bundles register themselves with the server at runtime. To scale them, use your usual orchestrator, such as Kubernetes or Nomad.
Maven Central
2 · Add the bundle library
evento-bundle hosts your components and connects them to the server. It needs Java 25 or later, and works with Spring, Micronaut, Quarkus or plain Java.
Gradle
implementation group: 'com.eventoframework', name: 'evento-bundle', version: '3.0.4'
Maven
<dependency>
<groupId>com.eventoframework</groupId>
<artifactId>evento-bundle</artifactId>
<version>3.0.4</version>
</dependency>
3 · Start your bundle
Point the bundle at your server. Your annotated components are discovered, registered and wired automatically:
EventoBundle.Builder.builder()
.setBasePackage(TodoApplication.class.getPackage())
.setBundleId("todo-bundle")
.setBundleVersion(1)
.setEventoServerAddress("localhost:3030")
.start();
Build one.
Free to run in production, every feature public, client libraries under Apache-2.0.