ektravel commented on code in PR #15031:
URL: https://github.com/apache/druid/pull/15031#discussion_r1379344948


##########
docs/api-reference/supervisor-api.md:
##########
@@ -1311,6 +1311,29 @@ Host: http://ROUTER_IP:ROUTER_PORT
   ```
 </details>
 
+#### Response Description 
+The response `payload` contains the following structure:
+
+|Property|Type|Description|
+|---|---|---|
+|`dataSource`|String|The target datasource.|
+|`stream`|String|Name of the topic or stream that the ingestion is reading 
from.|
+|`partitions`|Integer|Number of partitions in the source stream.|
+|`replicas`|Integer|Number of replicas being used per task for high 
availability where 1 means no redundancy.|
+|`durationSeconds`|Integer|Seconds that each task spends reading before moving 
to a publishing state.|
+|`activeTasks`|Array of Object|Lists the tasks that are reading from the 
stream, each with: 
<table><tbody><tr><td>`startTime`</td><td>String</td><td>Task start 
time.</td></tr><tr><td>`remainingTime`</td><td>Integer</td><td>The time 
remaining in the reading state</td><tr><tr><td>`currentOffsets`</td><td>Map < 
String , Integer ></td><td>The list of partitions that the task is reading from 
with the latest offset consumed from each.</td></tr><tr><td>`lag`</td><td>Map < 
String , Integer ></td><td>The number of messages pending to read from each 
partition.</td></tr></tbody></table> | 
+|`publishingTasks`|Array of Object|Lists the tasks that are publishing 
segments to Deep Storage and awaiting handoff confirmation. For detailed 
structure see `activeTasks` above.|
+|`latestOffsets`|Map < String, Integer >|The lastest offset consumed from the 
stream by partition.|
+|`minimumLag`|Map < String, Integer >|The number of messages pending to read 
from stream by partition.|

Review Comment:
   ```suggestion
   |`minimumLag`|Map < String, Integer >|The number of messages pending to read 
from stream by partition.|
   ```
   ```suggestion
   |`minimumLag`|`Map < String, Integer >`|The number of messages pending to 
read from the stream by partition.|
   ```



-- 
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-unsubscr...@druid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to