Package org.apache.kafka.connect.rest
Interface ConnectRestExtensionContext
-
public interface ConnectRestExtensionContextThe interface provides the ability forConnectRestExtensionimplementations to access the JAX-RSConfigurableand cluster stateConnectClusterState. The implementation for the interface is provided by the Connect framework.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectClusterStateclusterState()Provides the cluster state and health information about the connectors and tasks.javax.ws.rs.core.Configurable<? extends javax.ws.rs.core.Configurable>configurable()Provides an implementation ofConfigurablethat be used to register JAX-RS resources.
-
-
-
Method Detail
-
configurable
javax.ws.rs.core.Configurable<? extends javax.ws.rs.core.Configurable> configurable()
Provides an implementation ofConfigurablethat 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
-
-