You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zhibinF (via GitHub)" <gi...@apache.org> on 2023/07/08 06:00:18 UTC
[GitHub] [seatunnel] zhibinF opened a new issue, #5047: [Design][Zeta] Add Zeta Http Client
zhibinF opened a new issue, #5047:
URL: https://github.com/apache/seatunnel/issues/5047
### Search before asking
- [X] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement.
### Description
From https://github.com/apache/seatunnel/issues/4955 , we design Seatunnel Http Client instead of Seatnnel CLI.
At present, seatunnel has been implemented to query status and statistics of running jobs, as well as recent completed jobs through rest command. Now we try to design Zeta job submission via rest api.
**Job Parameter Passing**
Pass parameters as a POST request
All the parameters in the config file are passed in json format in the body of the broken post.
Other CLI job parameters are passed in parameter: clusterName, masterType, jobName, restoreJobId, async
**URL entry**
"/hazelcast/rest/maps/submit-job"
**Implementation ideas**
1. Under the rest folder to create RestHttpPostCommandProcessor. Java
2. In NodeExtension. Register RestHttpPostCommandProcessor in Java
3. Registered in RestConstant * SUBMIT_JOB_URL * for "/ hazelcast/rest/maps/submit-job",
4. Registered in the handle RestHttpPostCommandProcessor handleSubmitJob function is used to submit the task
5. Implement the submit task in the handleSubmitJob function
### Usage Scenario
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] github-actions[bot] commented on issue #5047: [Design][Zeta] Add Zeta Http Client
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5047:
URL: https://github.com/apache/seatunnel/issues/5047#issuecomment-1679792632
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] github-actions[bot] closed issue #5047: [Design][Zeta] Add Zeta Http Client
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #5047: [Design][Zeta] Add Zeta Http Client
URL: https://github.com/apache/seatunnel/issues/5047
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] liugddx commented on issue #5047: [Design][Zeta] Add Zeta Http Client
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #5047:
URL: https://github.com/apache/seatunnel/issues/5047#issuecomment-1627357227
Since the request is sent directly to the master node, We can directly call `CoordinatorService.submitJob` to complete the task submission.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] liugddx commented on issue #5047: [Design][Zeta] Add Zeta Http Client
Posted by "liugddx (via GitHub)" <gi...@apache.org>.
liugddx commented on issue #5047:
URL: https://github.com/apache/seatunnel/issues/5047#issuecomment-1627352258
#2272 #2333
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] github-actions[bot] commented on issue #5047: [Design][Zeta] Add Zeta Http Client
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #5047:
URL: https://github.com/apache/seatunnel/issues/5047#issuecomment-1668738398
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org