Mutiny! 

Intuitive Event-Driven Reactive Programming Library for Java

Uni<String> request = (...)

Uni<String> uni = request
    .ifNoItem().after(ofSecond(1))
        .fail(() -> new Exception("💥"))
    .onFailure().recoverWithItem(fail -> "📦")
    .subscribe()
        .with(item -> log("👍 " + item))
                    
Event-Driven

Mutiny places events at the core of its design. With Mutiny, you observe events, react to them, and create elegant and readable processing pipelines. A PhD in functional programming is not required.

Navigable

Even with smart code completion classes with hundred of methods are confusing. Mutiny provides a navigable and explicit API driving you towards the operator you need.

Non-Blocking I/O

Mutiny is the perfect companion to tame the asynchronous nature of applications with non-blocking I/O. Declaratively compose operations, transform data, enforce progress, recover from failures and more.

Not exclusive to Quarkus!

Mutiny is integrated in Quarkus where every reactive API uses Mutiny. Mutiny is however an independent library that is not limited to Quarkus and that can be used in any Java application. A good example are the Eclipse Vert.x Mutiny API bindings.

Made for an asynchronous world

Mutiny can be used in any asynchronous application such as event-driven microservices, message-based applications, network utilities, data stream processing, and, of course, reactive applications.

Reactive Converters Built-In

Mutiny is based on the Reactive Streams specification, and so it can be integrated with any other reactive programming library. In addition, it proposes converters to interact with other popular libraries.