forked from apache/eventmesh-site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE apache#202] refine the supporting document for cluster deploy
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...ributed-cluster-deployment-guide/01-distributed-cluster-deployment-guide-doc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Distributed Consistency Protocol for EventMesh | ||
- **Current State:** | ||
- Kafka utilizes KRaft for in-sync replication among brokers. | ||
- Event-mesh does not fully implement JRaft. | ||
- A partially functional JRaft PR has been merged, but it requires a fixed cluster list defined in the `eventmesh.properties` file (immutable). | ||
- This limits elastic scaling of EventMesh cluster nodes. | ||
- **JRaft Potential:** | ||
- JRaft allows for elastic scaling by dynamically discovering new clusters. | ||
- Nodes can be added by specifying IP and port in `eventmesh.properties`. | ||
- Leader election occurs if the leading node fails. | ||
- Recovered leading nodes become followers. | ||
- **Impact on Registry Center:** | ||
- Implementing JRaft eliminates the need for Nacos as a registry center. | ||
- Existing SDK pattern relies on static IP insertion in `eventmesh.properties`. | ||
- Node failure results in service failure. | ||
- **Solutions:** | ||
- **Gateway Proxy Layer:** A future solution for the new architecture. Like Nginx. | ||
- **JRaft Protocol:** Enables dynamic scaling and cluster discovery. | ||
|
||
**Next Steps:** | ||
- Evaluating the feasibility of fully functional JRaft implementation for dynamic cluster management. | ||
- Or using reverse proxy like Nginx to achieve the cluster register. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters