-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][Rest api] Use jetty to replace Hazelcast native rest api #7725
Labels
Comments
suggestion default config
|
How to coexist |
Yes, I will keep the original url path unchanged, and the new url will be bound to the new port |
3 tasks
4 tasks
Closed by #7647 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Description
Backgroud
The current rest api implementation is to use the native Hazelcast rest api, which is simple but there are very many limitations, such as the inability to customize the url, the performance is not as good as jetty, and scalability is not enough.
Motivation
The Hazelcast Native REST API presents significant limitations in functionality, scalability, performance, security, maintenance, and integration, which hinder its effectiveness in complex front-end and back-end unified projects. On the other hand, Jetty stands out as a high-performance, feature-rich, and highly customizable web server capable of addressing the demands of modern Java applications.
Therefore, it is recommended to phase out the Hazelcast Native REST API and adopt Jetty as the unified front-end and back-end server solution. This transition will enhance system performance, strengthen security, improve maintainability, and provide a robust foundation for future feature expansions.
Architecture design
The current rest api design looks like this,it is implemented through hazelcast native rest api.
You can see that the current URL cannot be modified, which limits our use.
SeaTunnelServer binding jetty service
Since SeaTunnelServer is a resident process, we can bind a new port specifically for jetty use.We can add two configuration items
This is part of the code of SeaTunnelServerStarter
Existing API interfaces can be quickly migrated to Jetty,The following is an example of getting a running jobs
The new rest api can coexist with the old one and can completely replace it in future releases.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: