CCAAK · Question #81
You manage Kafka Connect clusters and use the Kafka Connect REST API to monitor the status of various connectors and their tasks. You also restart connectors and update configurations. You need to…
The correct answer is B. GET /connectors/{name}/status. The status endpoint returns the connector's runtime state, task states, and any associated errors, providing full visibility into connector health and failure information.
Question
You manage Kafka Connect clusters and use the Kafka Connect REST API to monitor the status of various connectors and their tasks. You also restart connectors and update configurations. You need to determine which REST API endpoint to use to retrieve the current status of a specific connector. This must include its tasks and any error information if it has failed. Which REST API endpoint should you use?
Options
- AGET /connectors/{name}/config
- BGET /connectors/{name}/status
- CPOST /connectors/{name}/restart
- DPUT /connectors/{name}/pause
How the community answered
(32 responses)- A9% (3)
- B84% (27)
- C3% (1)
- D3% (1)
Explanation
The status endpoint returns the connector's runtime state, task states, and any associated errors, providing full visibility into connector health and failure information.
Topics
Community Discussion
No community discussion yet for this question.