Smallrye Reactive Messaging

SmallRye Reactive Messaging
Alternatives To Smallrye Reactive Messaging
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Alpakka1,25221125 days ago45November 30, 2021221otherScala
Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
Spring Cloud Stream9027063615 hours ago56May 26, 2022112apache-2.0Java
Framework for building Event-Driven Microservices
React Instagram Clone 2.0900
2 months ago31mitJavaScript
A reactive Single-Page Instagram-Clone with some new features!! 💪📸👓 - No longer maintained.
Silverback1971105 days ago135February 21, 202316mitC#
Silverback is a simple but feature-rich message bus for .NET core (it currently supports Kafka, RabbitMQ and MQTT).
Smallrye Reactive Messaging1937143 days ago88February 07, 202388apache-2.0Java
SmallRye Reactive Messaging
Eventide Postgres95
158 months ago12January 17, 2020mitShell
Event Sourcing and Microservices Stack for Ruby
Microprofile Reactive Messaging4849 months ago11August 01, 202218apache-2.0Java
Incubator Pekko Connectors27
a day ago10apache-2.0Scala
Apache Pekko Connectors is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Apache Pekko.
Muon Java17
5 years ago7otherJava
Muon Core for the JVM. APIs and Microservices taken to the next level
Vertx Amqp Client16
21 days ago10apache-2.0Java
An AMQP client for Vert.x
Alternatives To Smallrye Reactive Messaging
Select To Compare


Alternative Project Comparisons
Readme

Maven Central Continuous Integration Build License

Implementation of the MicroProfile Reactive Messaging specification

This project is an implementation of the (next to be) Eclipse MicroProfile Reactive Messaging specification - a CDI extension to build event-driven microservices and data streaming applications. It provides support for:

It also provides a way to inject streams into CDI beans, and so link your Reactive Messaging streams into CDI beans,or JAX-RS resources.

Branches

  • main - 4.x development stream. Uses Vert.x 4.x, Microprofile 5.x, Mutiny 2.x and Jakarta 9
  • 3.x - Previous development stream. Uses Vert.x 4.x and Microprofile 4.x
  • 2.x - Not under development anymore. Uses Vert.x 3.x and Microprofile 3.x

Getting started

Prerequisites

See PREREQUISITES.md for details.

The build process requires Apache Maven and Java 11+ and can be performed using:

mvn clean install

How to start

The best way to start is to look at the examples/quickstart project. It's a Maven project listing the minimal set of dependencies and containing a single class:

package io.smallrye.reactive.messaging.quickstart;

import org.eclipse.microprofile.reactive.messaging.Incoming;
import org.eclipse.microprofile.reactive.messaging.Outgoing;
import org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder;
import org.eclipse.microprofile.reactive.streams.operators.ReactiveStreams;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.se.SeContainerInitializer;

@ApplicationScoped
public class QuickStart {

  public static void main(String[] args) {
    SeContainerInitializer.newInstance().initialize();
  }


  @Outgoing("source")
  public PublisherBuilder<String> source() {
    return ReactiveStreams.of("hello", "with", "SmallRye", "reactive", "message");
  }

  @Incoming("source")
  @Outgoing("processed-a")
  public String toUpperCase(String payload) {
    return payload.toUpperCase();
  }

  @Incoming("processed-a")
  @Outgoing("processed-b")
  public PublisherBuilder<String> filter(PublisherBuilder<String> input) {
    return input.filter(item -> item.length() > 4);
  }

  @Incoming("processed-b")
  public void sink(String word) {
    System.out.println(">> " + word);
  }

}

Run the project with: mvn compile exec:java -Dexec.mainClass=io.smallrye.reactive.messaging.quickstart.QuickStart:

>> HELLO
>> SMALLRYE
>> REACTIVE
>> MESSAGE

Built With

Contributing

Please read CONTRIBUTING.md for details, and the process for submitting pull requests.

Sponsors

The project is sponsored by Red Hat.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Popular Messaging Projects
Popular Reactive Projects
Popular Messaging Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Java
Stream
Apache
Eclipse
Kafka
Messaging
Reactive
Cdi