Mosaic is an open-source Kotlin framework for backend orchestration.
Compose responses from independent pieces of data. Mosaic handles dependencies, deduplication, batching, and concurrency underneath.
Think from the response up.
https://t.co/t2KbJh9ajO
A DAG can take shape as your Kotlin code runs.
Mosaic discovers dependencies as response components request them, including branches and keys chosen from earlier results. Independent work can run concurrently.
https://t.co/f3INgq6XHw
#Mosaic
Build your BFF around the response your frontend needs.
Mosaic lets Kotlin teams compose reusable response sections and share repeated work within a request, while keeping their existing HTTP framework.
https://t.co/ba2UvuENRH
#Mosaic
Follow the work behind each backend response.
Mosaic’s optional OpenTelemetry adapter adds execution and batch spans to your existing traces, so teams can investigate the work that ran without replacing their telemetry pipeline.
https://t.co/ZE01uRtfGz
Keep response logic independent of how a service fetches data.
Mosaic lets Kotlin teams choose bulk, per-key, or size-limited fetching behind the same composition API.
https://t.co/6YfdyLNuuX
Test how a response is assembled without calling every downstream service.
Mosaic lets you replace selected dependencies with test values or failures while the response logic runs for real.
https://t.co/wffcxwH7wM
Keep routing and HTTP handling in your existing framework. Mosaic composes the application logic behind the response.
Explore Spring Boot, Ktor, and Micronaut examples using the same Kotlin logic:
https://t.co/VN48A8aIvc
Mosaic Runtime 1.1.0 adds an external dependency resolver, opening the door to integrations with your preferred DI provider, such as Spring, Micronaut, or Ktor.
https://t.co/Vk10lED8is
#Mosaic
Mosaic 1.0.0 is officially here! 🎉
Runtime + Analysis: stable Runtime APIs, verified Kotlin compatibility, and a rolling 18-month Kotlin support commitment.
https://t.co/VV9Hw34jhe
#Mosaic
Coordinating repeated work is more code to maintain. With one Mosaic per request, different parts of a response can share the same component instance’s work and result.
https://t.co/X00JpSv8Yr
As backend features grow, orchestration gets harder to change. Mosaic keeps work in reusable Kotlin components, so teams can review each component and its dependencies together.
https://t.co/3x6clnYt9N
Mosaic 0.7.0 is here.
Tie execution to your request’s lifetime, so cancellation also cancels unfinished work. Reuse existing services and clients while keeping control of their lifecycle.
https://t.co/cEAdDbsZUT
#Mosaic