Kafka Connect REST API
The Kafka Connect REST API for MapR Streams manages connectors.
In standalone mode, a connector request is submitted on the command line. This mode is useful for getting status information, adding and removing connectors without stopping the process, and testing and debugging.
In distributed mode, the REST API is the primary interface to the cluster. Requests can be made to any cluster member where the REST API automatically forwards requests.
Accept: application/json Content-Type: application/json
Status & Errors
The REST API returns standards-compliant HTTP statuses.
|GET||/connectors||Gets a list of active connectors.|
|POST||/connectors||Creates a new connector, returning the current connector information is successful.|
|GET||/connectors/(string:name)||Gets information about the connector.|
|GET||/connectors/(string:name)/config||Gets the configuration for the connector.|
|PUT||/connectors/(string:name)/config||Creates a new connector using the given configuration or updates the configuration for an existing connector.|
|GET||/connectors/(string:name)/tasks||Gets a list of tasks current running for the connector.|
|DELETE||/connectors/(string:name)/||Deletes a connector, halting all tasks and deleting its configuration.|