Package org.apache.kafka.connect.health
Class ConnectorState
- java.lang.Object
-
- org.apache.kafka.connect.health.AbstractState
-
- org.apache.kafka.connect.health.ConnectorState
-
public class ConnectorState extends AbstractState
Describes the status, worker ID, and any errors associated with a connector.
-
-
Constructor Summary
Constructors Constructor Description ConnectorState(String state, String workerId, String traceMessage)
Provides an instance of the ConnectorState.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
Methods inherited from class org.apache.kafka.connect.health.AbstractState
equals, hashCode, state, traceMessage, workerId
-
-
-
-
Constructor Detail
-
ConnectorState
public ConnectorState(String state, String workerId, String traceMessage)
Provides an instance of the ConnectorState.- Parameters:
state
- - the status of connector, may not benull
or emptyworkerId
- - the workerId associated with the connector, may not benull
or emptytraceMessage
- - any error message associated with the connector, may benull
or empty
-
-