Apache RocketMQ Spring Integration

Clone this repo:
  1. 6185423 Merge pull request #379 from heihaozi/maxReconsumeTimes by wenfeng · 7 days ago master
  2. eb75de9 Improve the comment of maxReconsumeTimes by CharliePu · 4 weeks ago
  3. 8ebc953 [ISSUE #366] The retry number of failed consumptions can be set. (#367) by zhangjidi2016 · 2 months ago
  4. 925776e [ISSUE #368] Upgrade starter version. (#369) by zhangjidi2016 · 2 months ago
  5. 89946bb [ISSUE #339] Fix consumer do not consume message with the same instance name by 张旭 · 4 months ago

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

  • [x] Send messages synchronously
  • [x] Send messages asynchronously
  • [x] Send messages in one-way mode
  • [x] Send ordered messages
  • [x] Send batched messages
  • [x] Send transactional messages
  • [x] Send scheduled messages with delay level
  • [x] Consume messages with concurrently mode (broadcasting/clustering)
  • [x] Consume ordered messages
  • [x] Filter messages using the tag or sql92 expression
  • [x] Support message tracing
  • [x] Support authentication and authorization
  • [x] Support request-reply message exchange pattern
  • [x] 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