KotlinadvancedbackendAI Generated
Reactive Microservice with Kotlin Coroutines
Kotlin microservice with Ktor, coroutines, R2DBC (reactive PostgreSQL), circuit breaker, and distributed tracing with OpenTelemetry.
5 stepsKotlin · Ktor · R2DBC · PostgreSQL · OpenTelemetry · Resilience4j
Project Roadmap
- 01
Ktor server
Ktor configuration with JSON content negotiation, status pages, and routing.
- 02
R2DBC reactive
Asynchronous queries with R2DBC + Exposed or jOOQ reactive for PostgreSQL.
- 03
Circuit breaker
Resilience4j CircuitBreaker on external service calls.
- 04
OpenTelemetry tracing
Automatic request instrumentation with spans and baggage propagation.
- 05
Health & metrics
Endpoints /health (liveness, readiness) and /metrics for Prometheus.
Resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech Stack
KotlinKtorR2DBCPostgreSQLOpenTelemetryResilience4j