Jetiaime opened a new issue, #6742:
URL: https://github.com/apache/seatunnel/issues/6742

   ### 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
   
   I'm rewritting seatunnel-web code and I found seatunnel-client has lots 
method that has a very specific usage, but not so useful. Like 
`getJobDetailStatus` and `getJobMetrics`, it return a JSON string, it's ok for 
some RESTful API, but not for Java developer, it would be hard to parse. 
Especially `getJobDetailStatus`, it's return class 
`org.apache.seatunnel.engine.server.master.JobHistoryService.JobState` is a 
inner class that I cannot import into my project !!! I have to copy the related 
class so I can parse the returned string into a class. 
   
   So I think we can make all metrics or any related class into a module that 
developer should be imported and rewrite some API in the client class.
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to