Package org.apache.kafka.connect.rest
Interface ConnectRestExtensionContext
-
public interface ConnectRestExtensionContext
The interface provides the ability forConnectRestExtension
implementations to access the JAX-RSConfigurable
and 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 ConnectClusterState
clusterState()
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 ofConfigurable
that 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 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
-
-