-
Notifications
You must be signed in to change notification settings - Fork 11.7k
RIP 15 RocketMQ IPv6 Support Project
Current State: Implemented
Authors: fubaoyu,chenyongming
Shepherds: duhengforever
Mailing List discussion: [email protected];[email protected]
Released: <4.6.0>
RocketMQ does not currently support running in an IPv6 network environment. Therefore, we plan to make certain modifications to RocketMQ so that it can be deployed in both IPv4 and IPv6 network environments.
We plan to modify the RocketMQ system flag so that the Broker can choose different stored procedures based on the message IP version. For messages from different IP versions, the client can also decode correctly. The modified version works in both IPv4 and IPv6 network environments and is compatible with previous versions.
(1)Modify system flag;
(2)Modify storage process;
(3)Modify message encoding and decoding process.
In this phase, the project will not support transactional message and message trace function. We will improve these functions in our subsequent work.
The storage structure of the message contains the IP. The storage module performs different storage processes depending on whether the message is from an IPv4 or IPv6 client.
When it comes to message encoding with IP information, for example, msgID, RocketMQ will call different encoding methods depending on the IP version. At the same time, the client will call different decoding methods for each message according to the system flag when decoding.
RocketMQ can be deployed in an IPv6 network environment.
Copyright © 2016~2022 The Apache Software Foundation.
- Home
- RocketMQ Improvement Proposal
- User Guide
- Community