Package org.apache.kafka.connect.rest
Interface ConnectRestExtensionContext
public interface ConnectRestExtensionContext
The interface provides the ability for
ConnectRestExtension
implementations to access the JAX-RS
Configurable
and cluster state ConnectClusterState
. The implementation for the interface is provided
by the Connect framework.-
Method Summary
Modifier and TypeMethodDescriptionProvides the cluster state and health information about the connectors and tasks.javax.ws.rs.core.Configurable<? extends javax.ws.rs.core.Configurable<?>>
Provides an implementation ofConfigurable
that be used to register JAX-RS resources.
-
Method Details
-
configurable
javax.ws.rs.core.Configurable<? extends javax.ws.rs.core.Configurable<?>> configurable()Provides an implementation ofConfigurable
that be used to register JAX-RS resources.- Returns:
-
clusterState
ConnectClusterState clusterState()Provides the cluster state and health information about the connectors and tasks.- Returns:
- the cluster state information; never
null
-