Package io.debezium.server.events
Class ConnectorCompletedEvent
java.lang.Object
io.debezium.server.events.ConnectorCompletedEvent
Fired when the connector was completed. Provides information about completion state, message
and optional stacktrace in case of error.
- Author:
- Jiri Pechanec
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
success
private final boolean success -
message
-
error
-
-
Constructor Details
-
ConnectorCompletedEvent
-
-
Method Details
-
isSuccess
public boolean isSuccess()- Returns:
- true if the connector was completed successfully
-
getMessage
- Returns:
- message associated with connection completion
-
getError
- Returns:
- optional error in case the connector has not started successfully or was terminated with an error
-
toString
-