You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "liugddx (via GitHub)" <gi...@apache.org> on 2023/03/17 04:25:17 UTC

[GitHub] [incubator-seatunnel] liugddx commented on a diff in pull request #4140: [Feature][Zeta][REST-API]add get running job info by jobId

liugddx commented on code in PR #4140:
URL: https://github.com/apache/incubator-seatunnel/pull/4140#discussion_r1139704007


##########
docs/en/seatunnel-engine/rest-api.md:
##########
@@ -0,0 +1,121 @@
+---
+
+sidebar_position: 7
+-------------------
+
+# REST API
+
+Seatunnel has a monitoring API that can be used to query status and statistics of running jobs, as well as recent
+completed jobs. The monitoring API is a REST-ful API that accepts HTTP requests and responds with JSON data.
+
+## Overview
+
+The monitoring API is backed by a web server that runs as part of the node, each node member can provide rest api capability.
+By default, this server listens at port 5801, which can be configured in hazelcast.yaml like :
+
+```yaml
+network:
+    rest-api:
+      enabled: true
+      endpoint-groups:
+        CLUSTER_WRITE:
+          enabled: true
+        DATA:
+          enabled: true
+    join:
+      tcp-ip:
+        enabled: true
+        member-list:
+          - localhost
+    port:
+      auto-increment: true
+      port-count: 100
+      port: 5801
+```
+
+## API reference
+
+### Returns an overview over all jobs and their current state.
+
+<details>
+ <summary><code>GET</code> <code><b>/hazelcast/rest/maps/running-jobs</b></code> <code>(Returns an overview over all jobs and their current state.)</code></summary>
+
+#### Parameters
+
+```json
+{}

Review Comment:
   I agree with you.



-- 
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