public static class MySqlBinlogFetchTask.MySqlBinlogSplitReadTask
extends io.debezium.connector.mysql.MySqlStreamingChangeEventSource
| 构造器和说明 |
|---|
MySqlBinlogSplitReadTask(io.debezium.connector.mysql.MySqlConnectorConfig connectorConfig,
io.debezium.connector.mysql.MySqlOffsetContext offsetContext,
io.debezium.connector.mysql.MySqlConnection connection,
JdbcSourceEventDispatcher dispatcher,
io.debezium.pipeline.ErrorHandler errorHandler,
io.debezium.connector.mysql.MySqlTaskContext taskContext,
io.debezium.connector.mysql.MySqlStreamingChangeEventSourceMetrics metrics,
IncrementalSplit binlogSplit) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
execute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.connector.mysql.MySqlOffsetContext offsetContext) |
static BinlogOffset |
getBinlogPosition(Map<String,?> offset) |
protected void |
handleEvent(io.debezium.connector.mysql.MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event) |
filterGtidSet, handleDelete, handleGtidEvent, handleInsert, handleQueryEvent, handleRotateLogsEvent, handleRowsQuery, handleServerHeartbeat, handleServerIncident, handleServerStop, handleUpdate, handleUpdateTableMetadata, ignoreEvent, logEvent, onEvent, prepareTransaction, unwrapData, viewChange, wrappublic MySqlBinlogSplitReadTask(io.debezium.connector.mysql.MySqlConnectorConfig connectorConfig,
io.debezium.connector.mysql.MySqlOffsetContext offsetContext,
io.debezium.connector.mysql.MySqlConnection connection,
JdbcSourceEventDispatcher dispatcher,
io.debezium.pipeline.ErrorHandler errorHandler,
io.debezium.connector.mysql.MySqlTaskContext taskContext,
io.debezium.connector.mysql.MySqlStreamingChangeEventSourceMetrics metrics,
IncrementalSplit binlogSplit)
public void execute(io.debezium.pipeline.source.spi.ChangeEventSource.ChangeEventSourceContext context,
io.debezium.connector.mysql.MySqlOffsetContext offsetContext)
throws InterruptedException
execute 在接口中 io.debezium.pipeline.source.spi.StreamingChangeEventSource<io.debezium.connector.mysql.MySqlOffsetContext>execute 在类中 io.debezium.connector.mysql.MySqlStreamingChangeEventSourceInterruptedExceptionprotected void handleEvent(io.debezium.connector.mysql.MySqlOffsetContext offsetContext,
com.github.shyiko.mysql.binlog.event.Event event)
handleEvent 在类中 io.debezium.connector.mysql.MySqlStreamingChangeEventSourcepublic static BinlogOffset getBinlogPosition(Map<String,?> offset)
Copyright © 2024 The Apache Software Foundation. All rights reserved.