-
Notifications
You must be signed in to change notification settings - Fork 11.6k
RIP 55 Support remoting protocol in rocketmq proxy module
- Current State: Proposed
- Authors: drpmma, xdkxlk
- Shepherds: zhouxinyu, lizhanhui, lollipopjin
- Mailing List Discussion: dev@rocketmq.apache.org
- Pull Request: #PR_NUMBER
- Released: <released_version>
- Will we add a new module? No.
- Will we add new APIs? No.
- Will we add a new feature? Yes.
Are there any problems with our current project?
The remoting protocol is not supported in proxy yet. And it should be put on the agenda. In this way, both the protocol and the architecture are aligned in a unified way.
What can we benefit from proposed changes?
With remoting protocol in proxy, the remoting client is able to connect to proxy in the unified architecture, which is stateless and has separate computing and storage. The proxy will focus on traffic management, connection management, and observability while the broker pays more attention to performance, storage, low latency, and high availability.
What problem is this proposal designed to solve?
- Supporting RPC with remoting protocol related to messaging and connection in proxy.
- Do not support admin interface. The methods related to the admin interface are considered internal operations and should follow the way of connecting to namesrv.
- Do not support request-reply for now.
The proxy will add a new remoting protocol server to support the request code above. Also, the protocol negotiation module will be introduced to proxy to handle multiple transport protocols in one network access point. Client connection will be managed in the proxy. Furthermore, messaging-related modules like sending and receiving all kinds of messages will also be implemented.
The request codes are planned to implement.
SEND_MESSAGE
PULL_MESSAGE
QUERY_CONSUMER_OFFSET
UPDATE_CONSUMER_OFFSET
SEARCH_OFFSET_BY_TIMESTAMP
GET_MAX_OFFSET
GET_MIN_OFFSET
GET_EARLIEST_MSG_STORETIME
HEART_BEAT
UNREGISTER_CLIENT
CONSUMER_SEND_MSG_BACK
END_TRANSACTION
GET_CONSUMER_LIST_BY_GROUP
CHECK_TRANSACTION_STATE
LOCK_BATCH_MQ
UNLOCK_BATCH_MQ
POP_MESSAGE
ACK_MESSAGE
CHANGE_MESSAGE_INVISIBLETIME
GET_ROUTEINFO_BY_TOPIC
CONSUME_MESSAGE_DIRECTLY
SEND_MESSAGE_V2
SEND_BATCH_MESSAGE
LITE_PULL_MESSAGE
-
Method signature changes? Nothing specific.
-
Method behavior changes? Nothing specific.
-
CLI command changes? Nothing specific.
-
Log format or content changes? Nothing specific.
- Are backward and forward compatibility taken into consideration? No
- Are there deprecated APIs? No
- How do we do migration? No
The remoting server and protocol negotiation.
Connection implementation.
Messaging implementation
Copyright © 2016~2022 The Apache Software Foundation.
- Home
- RocketMQ Improvement Proposal
- User Guide
- Community