Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

RabbitMQ Stream Java Client

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE2
MPL-2.0
LICENSE-MPL-RabbitMQ
NotificationsYou must be signed in to change notification settings

rabbitmq/rabbitmq-stream-java-client

Maven CentralBuild Status

The RabbitMQ Stream Java Client is a Java library to communicate withtheRabbitMQ 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 theoverview for a quick glance at the features.

Stream PerfTest is a performance testing tool based on this client library.

Please refer to thedocumentation to find out more.

Project Maturity

The library is stable and production-ready.

Support

See theRabbitMQ 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

Versioning

This library usessemantic 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 theGoogle Java Format. Readthe documentation to support the format in yourfavoriteIDE.

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. SeeLICENSE for details.

About

RabbitMQ Stream Java Client

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE2
MPL-2.0
LICENSE-MPL-RabbitMQ

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors7

Languages


[8]ページ先頭

©2009-2025 Movatter.jp