public class RdsBinlogEventParserProxy extends MysqlEventParser
注意点:aliyun的binlog会有定期清理并备份到oss上, 这里实现了一份自动下载oss+rds binlog的机制
masterInfo, masterPosition, standbyInfo, standbyPositionBINLOG_START_OFFEST, connectionCharset, connectionCharsetNumber, enableTsdb, filterQueryDcl, filterQueryDdl, filterQueryDml, filterRows, filterTableError, receivedBinlogBytes, tableMetaTSDB, tableMetaTSDBFactory, tsdbSnapshotExpire, tsdbSnapshotInterval, tsdbSpringXml, useDruidDdlFilterbinlogParser, consumedEventCount, destination, detectingEnable, detectingIntervalInSeconds, eventBlackFilter, eventFilter, eventSink, exception, fieldBlackFilter, fieldBlackFilterMap, fieldFilter, fieldFilterMap, handler, heartBeatTimerTask, isGTIDMode, lastEntryTime, logger, logPositionManager, multiStageCoprocessor, needTransactionPosition, parallel, parallelBufferSize, parallelThreadSize, parsedEventCount, parserExceptionHandler, parseThread, parsingInterval, processingInterval, profilingEnabled, receivedEventCount, runningInfo, serverId, timer, transactionBuffer, transactionSizerunning| 构造器和说明 |
|---|
RdsBinlogEventParserProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isStart() |
void |
setAccesskey(java.lang.String accesskey) |
void |
setBatchFileSize(int batchFileSize) |
void |
setDirectory(java.lang.String directory) |
void |
setInstanceId(java.lang.String instanceId) |
void |
setRdsOpenApiUrl(java.lang.String rdsOpenApiUrl) |
void |
setSecretkey(java.lang.String secretkey) |
void |
start() |
void |
stop() |
afterDump, buildErosaConnection, buildHeartBeatTimeTask, doSwitch, doSwitch, findEndPosition, findEndPositionWithMasterIdAndTimestamp, findPositionWithMasterIdAndTimestamp, findStartPosition, findStartPositionInternal, getHaController, isRdsOssMode, preDump, processDumpError, setDefaultConnectionTimeoutInSeconds, setDetectingEnable, setDetectingIntervalInSeconds, setDetectingSQL, setDumpErrorCountThreshold, setFallbackIntervalInSeconds, setHaController, setMasterInfo, setMasterPosition, setRdsOssMode, setReceiveBufferSize, setSendBufferSize, setSlaveId, setStandbyInfo, setStandbyPosition, setSupportBinlogFormats, setSupportBinlogImages, stopHeartBeatbuildMultiStageCoprocessor, buildParser, getEventsPublishBlockingTime, getReceivedBinlogBytes, getTsdbSnapshotExpire, getTsdbSnapshotInterval, isUseDruidDdlFilter, processTableMeta, setConnectionCharset, setConnectionCharset, setConnectionCharsetNumber, setEnableTsdb, setEventBlackFilter, setEventFilter, setFieldBlackFilter, setFieldFilter, setFilterQueryDcl, setFilterQueryDdl, setFilterQueryDml, setFilterRows, setFilterTableError, setTableMetaTSDBFactory, setTsdbSnapshotExpire, setTsdbSnapshotInterval, setTsdbSpringXml, setUseDruidDdlFilterbuildLastPosition, buildLastTransactionPosition, consumeTheEventAndProfilingIfNecessary, getAlarmHandler, getBinlogParser, getConsumedEventCount, getException, getFieldBlackFilter, getFieldBlackFilterMap, getFieldFilter, getFieldFilterMap, getLogPositionManager, getParallelBufferSize, getParallelThreadSize, getParsedEventCount, getParserExceptionHandler, getParsingInterval, getProcessingInterval, getProfilingEnabled, getServerId, isGTIDMode, isParallel, parseAndProfilingIfNecessary, processSinkError, sendAlarm, setAlarmHandler, setBinlogParser, setDestination, setEventSink, setIsGTIDMode, setLogPositionManager, setParallel, setParallelBufferSize, setParallelThreadSize, setParserExceptionHandler, setProfilingEnabled, setServerId, setTransactionSize, startHeartBeatpublic void start()
start 在接口中 CanalLifeCyclestart 在类中 MysqlEventParserpublic void stop()
stop 在接口中 CanalLifeCyclestop 在类中 MysqlEventParserpublic boolean isStart()
isStart 在接口中 CanalLifeCycleisStart 在类中 AbstractCanalLifeCyclepublic void setRdsOpenApiUrl(java.lang.String rdsOpenApiUrl)
public void setAccesskey(java.lang.String accesskey)
public void setSecretkey(java.lang.String secretkey)
public void setInstanceId(java.lang.String instanceId)
public void setDirectory(java.lang.String directory)
public void setBatchFileSize(int batchFileSize)
Copyright © 2019. All rights reserved.