# rabbitmq-stream-java-client **Repository Path**: mirrors_rabbitmq/rabbitmq-stream-java-client ## Basic Information - **Project Name**: rabbitmq-stream-java-client - **Description**: RabbitMQ Stream Java Client - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README = RabbitMQ Stream Java Client image:https://maven-badges.sml.io/sonatype-central/com.rabbitmq/stream-client/badge.svg?subject=maven["Maven Central", link="https://maven-badges.sml.io/sonatype-central/com.rabbitmq/stream-client/"] image:https://github.com/rabbitmq/rabbitmq-stream-java-client/actions/workflows/test.yml/badge.svg["Build Status", link="https://github.com/rabbitmq/rabbitmq-stream-java-client/actions/workflows/test.yml"] The RabbitMQ Stream Java Client is a Java library to communicate with the https://rabbitmq.com/stream.html[RabbitMQ Stream Plugin]. It allows to create and delete streams, as well as to publish to and consume from these streams. This library is compatible with Java 11 but Java 21 (or a later version) is recommended. See the https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/#stream-client-overview[overview] for a quick glance at the features. https://github.com/rabbitmq/rabbitmq-stream-perf-test[Stream PerfTest] is a performance testing tool based on this client library. Please refer to the https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/[documentation] to find out more. == Project Maturity The library is stable and production-ready. == Support * For questions: https://groups.google.com/forum/#!forum/rabbitmq-users[RabbitMQ Users] * For bugs and feature requests: https://github.com/rabbitmq/rabbitmq-stream-java-client/issues[GitHub Issues] See the https://www.rabbitmq.com/client-libraries/java-versions[RabbitMQ Java libraries support page] for the support timeline of this library. == How to Use === Pre-requisites This library requires at least Java 11, but Java 21 or more is recommended. === Dependencies * https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/#dependencies[Release] * https://rabbitmq.github.io/rabbitmq-stream-java-client/snapshot/htmlsingle/#dependencies[Snapshot] === Documentation ==== Release * https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/[Reference documentation] * https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/api/com/rabbitmq/stream/package-summary.html[API documentation] ==== Snapshot * https://rabbitmq.github.io/rabbitmq-stream-java-client/snapshot/htmlsingle/[Reference documentation] * https://rabbitmq.github.io/rabbitmq-stream-java-client/snapshot/api/com/rabbitmq/stream/package-summary.html[API documentation] == Versioning This library uses https://semver.org/[semantic versioning]. == Build Instructions You need JDK 11 or later installed. To build the JAR file: ---- ./mvnw clean package -DskipITs -DskipTests ---- === Running Tests with Docker Launch the broker: ---- docker run -it --rm --name rabbitmq -p 5552:5552 -p 5672:5672 \ -e RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_stream advertised_host localhost' \ rabbitmq:4.1 ---- Enable the stream plugin: ---- docker exec rabbitmq rabbitmq-plugins enable rabbitmq_stream ---- Launch the tests: ---- ./mvnw test -Drabbitmqctl.bin=DOCKER:rabbitmq ---- === Running Tests with a Local Broker To launch the test suite (requires a local RabbitMQ node with stream plugin enabled): ---- ./mvnw verify -Drabbitmqctl.bin=/path/to/rabbitmqctl ---- == Code Format The project uses the https://github.com/google/google-java-format[Google Java Format]. Read the documentation to support the format in your https://github.com/google/google-java-format#intellij-android-studio-and-other-jetbrains-ides[favorite] https://github.com/google/google-java-format#eclipse[IDE]. Please launch the `./mvnw spotless:apply` command to format your changes before committing. == Copyright and License (c) 2020-2025 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. Double licensed under the MPL2.0 and ASL2. See link:LICENSE[LICENSE] for details.