dclim commented on a change in pull request #7428: Add errors and state to 
stream supervisor status API endpoint
URL: https://github.com/apache/incubator-druid/pull/7428#discussion_r289568209
 
 

 ##########
 File path: docs/content/development/extensions-core/kinesis-ingestion.md
 ##########
 @@ -218,12 +218,35 @@ To authenticate with AWS, you must provide your AWS 
access key and AWS secret ke
 ```
 -Ddruid.kinesis.accessKey=123 -Ddruid.kinesis.secretKey=456
 ```
-The AWS access key ID and secret access key are used for Kinesis API requests. 
If this is not provided, the service will look for credentials set in 
environment variables, in the default profile configuration file, and from the 
EC2 instance profile provider (in this order).
+The AWS access key ID and secret access key are used for Kinesis API requests. 
If this is not provided, the service will
+look for credentials set in environment variables, in the default profile 
configuration file, and from the EC2 instance
+profile provider (in this order).
 
 ### Getting Supervisor Status Report
 
-`GET /druid/indexer/v1/supervisor/<supervisorId>/status` returns a snapshot 
report of the current state of the tasks managed by the given supervisor. This 
includes the latest
-sequence numbers as reported by Kinesis. Unlike the Kafka Indexing Service, 
stats about lag is not yet supported.
+`GET /druid/indexer/v1/supervisor/<supervisorId>/status` returns a snapshot 
report of the current state of the tasks 
+managed by the given supervisor. This includes the latest sequence numbers as 
reported by Kinesis. Unlike the Kafka
+Indexing Service, stats about lag are not yet supported.
+
+The status report also contains the supervisor's state and a list of recently 
thrown exceptions (whose max size can be 
+controlled using the `druid.supervisor.maxStoredExceptionEvents` config 
parameter).  The list of states is as
+follows:
+
+|State|Description|
+|-----|-----------|
+|UNHEALTHY_SUPERVISOR|The supervisor has encountered errors on the past 
`druid.supervisor.unhealthinessThreshold` iterations|
 
 Review comment:
   Added, thanks for catching

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to