Skip to content

Reading RMQ source code: Please suggest one key feature to study deeply 请推荐一个RMQ功能进行研究 #8828

Closed Answered by leizhiyuan
vitasworld asked this question in Q&A
Discussion options

You must be logged in to vote

As a core feature of rocketmq5.0, maybe you can have an in-depth understanding of the pop consumption model and related rip

https://lists.apache.org/thread/0bm0qfj8xvqt1jndcmo6b76x6v2ptz1d

pop entry point for server-side consumption code

org.apache.rocketmq.proxy.grpc.v2.consumer.ReceiveMessageActivity receive
org.apache.rocketmq.proxy.grpc.v2.consumer.AckMessageActivity ack

Client, you can run this to trigger consumption so that you can debug on the server.

https://github.com/apache/rocketmq-clients/blob/master/java/client/src/main/java/org/apache/rocketmq/client/java/example/SimpleConsumerExample.java

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vitasworld
Comment options

Answer selected by lizhanhui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants