This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new a463267 Updated RIP 2 RocketMQ Spring (markdown)
a463267 is described below
commit a4632679f7a76ccc4b49f03938773a9439b775b8
Author: dinglei <[email protected]>
AuthorDate: Fri Jan 18 16:08:45 2019 +0800
Updated RIP 2 RocketMQ Spring (markdown)
---
RIP-2-RocketMQ-Spring.md | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/RIP-2-RocketMQ-Spring.md b/RIP-2-RocketMQ-Spring.md
index 5a76d5a..4abe896 100644
--- a/RIP-2-RocketMQ-Spring.md
+++ b/RIP-2-RocketMQ-Spring.md
@@ -1,5 +1,5 @@
# Status
-Current State: Proposed
+Current State: Implemented
Authors: Kevin Wang
Shepherds: Vongosling
Mailing List Discussion: <apache mailing list archive>
@@ -8,8 +8,8 @@ Released: <released_version>
# Background & Motivation
## What do we need to do
-Apache RocketMQ is the top-level project of the Apache Software Foundation,
which is used widely both in both China and the rest of the world by more and
more developers, it provides convenient and multi-language APIs.
-With the popular of Spring Cloud and Spring Boot among developers, it is
required to wrap RocketMQ API with Spring style and work with Spring to allow
developers easily integration with Spring cloud/boot with less code and less
configuration.
+Apache RocketMQ is the top-level project of the Apache Software Foundation,
which is used widely both in both China and the rest of the world by more and
more developers, it provides convenient and multi-language APIs.
+With the popularity of Spring Cloud and Spring Boot among developers, it is
required to wrap RocketMQ API with Spring style and work with Spring to allow
developers easily integration with Spring cloud/boot with less code and less
configuration.
There has been provided a tentative project rocketmq-spring-boot-starter in
RocketMQ community, it provides flexible annotations and POJOs to work with
Spring, we intend to enhance the project with more features, documents and
usage demos in the near future and contribute this to Spring community as a
standard messaging microservice besides RabbitMQ and Kafka.
# Goals
@@ -26,19 +26,19 @@ We hope with the spring-rocketmq, the developers and cloud
users can use the Roc
In this phase, the project is designed to only support Spring Boot, not
support the Spring Integration or Spring Cloud Stream.
The project will only support in Java languate and Spring framework.
-## Are there any limits of this proposal?
-Pushing the project to Spring needs approval of goalkeeper of Pivotal.
+## Are there any limits to this proposal?
+Pushing the project to Spring needs the approval of goalkeeper of Pivotal.
# Changes
## Enahncement 1: Sub-project: rocketmq-spring-test
-This is an accessional project to generate an embedded RocketMQ Broker in a
standalone jar, it is majorly used in spring-rocketmq test scenarios instead of
using it in production environment.
-## Enahncement 2: Support sending transactonal message
+This is an accessional project to generate an embedded RocketMQ Broker in a
standalone jar, it is majorly used in spring-rocketmq test scenarios instead of
using it in a production environment.
+## Enhancement 2: Support sending a transactional message
Distributed transactional message is an important new feature in RocketMQ
4.3.0 release, we need this function in spring-rocketmq producer API.
-Currently the project has supported the following features:
+Currently, the project has supported the following features:
RocketMQTemplate: It provides a "template" as a high-level abstraction for
sending messages;
```
-@RocktMQMessageListener: The annotation works with Message-driven POJOs and
implements callback method to consume messages.
+@RocktMQMessageListener: The annotation works with Message-driven POJOs and
implements the callback method to consume messages.
@RocketMQMessageListener(topic = "${spring.rocketmq.topic}", consumerGroup =
"string_consumer")
public class StringConsumer implements RocketMQListener<String> {
@@ -84,9 +84,9 @@ Add the ASF license header comment to all new .java files
(copy from existing fi
Add yourself as an @author to the .java files that you modify substantially
(more than cosmetic changes).
Add some Javadocs and, if you change the namespace, some XSD doc elements.
A few unit tests would help a lot as well - someone has to do it.
-If no-one else is using your branch, please rebase it against the current
master (or other target branch in the main project).
-It might be required to change the package name of each classes before doing
the final merge.
+If no-one else is using your branch, please rebase it against the current
master (or another target branch in the main project).
+It might be required to change the package name of each class before doing the
final merge.
## Enhancement 4: Demo and Tutorial docment
-For users quickly start to use the spring-rocketmq, we will provide demo and
usage document.
+For users quickly start to use the spring-rocketmq, we will provide a demo and
usage document.
The orginal demo project is in https://github.com/aqlu/rocketmq-demo.git. The
enhancement will move it into the RocketMQ samples project and with completed
documentation.