/rocketmq-spring

Apache RocketMQ Spring Integration

Primary LanguageJavaApache License 2.0Apache-2.0

RocketMQ-Spring Build Status Coverage Status

Maven Central GitHub release License Average time to resolve an issue Percentage of issues still open

This project aims to help developers quickly integrate RocketMQ with Spring Boot.

Features

  • Send messages synchronously
  • Send messages asynchronously
  • Send messages in one-way mode
  • Send ordered messages
  • Send batched messages
  • Send transactional messages
  • Send scheduled messages with delay level
  • Consume messages with concurrently mode (broadcasting/clustering)
  • Consume ordered messages
  • Filter messages using the tag or sql92 expression
  • Support message tracing
  • Support authentication and authorization
  • Support request-reply message exchange pattern
  • Consume messages with push/pull mode

Prerequisites

  • JDK 1.8 and above
  • Maven 3.0 and above
  • Spring Boot 2.0 and above

Usage

Add a dependency using maven:

<!--add dependency in pom.xml-->
<dependency>
    <groupId>org.apache.rocketmq</groupId>
    <artifactId>rocketmq-spring-boot-starter</artifactId>
    <version>${RELEASE.VERSION}</version>
</dependency>

Samples

Please see the rocketmq-spring-boot-samples.

User Guide

Please see the wiki page.

Contributing

We are always very happy to have contributions, whether for trivial cleanups or big new features. Please see the RocketMQ main website to read details.

License

Apache License, Version 2.0 Copyright (C) Apache Software Foundation