MCPcopy Create free account

hub / github.com/bytewatch/dolphinbeat / functions

Functions510 in github.com/bytewatch/dolphinbeat

↓ 104 callersMethodErrorf
(format string, args ...interface{})
sink/logger.go:22
↓ 31 callersMethodString
()
canal/handler.go:39
↓ 29 callersMethodInfof
(format string, args ...interface{})
sink/logger.go:23
↓ 24 callersMethodWarnf
(format string, args ...interface{})
sink/logger.go:24
↓ 19 callersMethodExecute
Execute a SQL
canal/canal.go:411
↓ 16 callersMethodClose
()
ckp/storage.go:28
↓ 12 callersMethodClose
()
sink/sink.go:39
↓ 12 callersMethodIsZero
()
canal/prog/progress.go:54
↓ 12 callersMethodPosition
()
canal/master.go:63
↓ 11 callersMethodErr
You need to report error by this channel.
sink/sink.go:37
↓ 9 callersMethodOutput
()
sink/kafka/client/go/decoder.go:105
↓ 9 callersFunctionmakeHeader
(tp OperationType, h *replication.EventHeader)
sink/stdout/operation.go:231
↓ 9 callersFunctionmakeHeader
(tp protocol.OperationType, h *replication.EventHeader)
sink/kafka/operation.go:149
↓ 8 callersMethodCompare
Use file&pos to compare, can not use gtid_set, because gtid_set may not contain each other
canal/prog/progress.go:72
↓ 8 callersMethodPrintf
(string, ...interface{})
sink/kafka/client/go/logger.go:23
↓ 7 callersMethodExec
Exec ddl statement, but don't persistent the schema info
schema/tracker.go:153
↓ 7 callersMethodGetTableDef
(db string, table string)
canal/canal.go:328
↓ 7 callersMethodUpdate
(pos prog.Position)
canal/master.go:46
↓ 7 callersMethodexecute
(c *C, query string, args ...interface{})
canal/canal_test.go:102
↓ 7 callersFunctionwriteData
(w http.ResponseWriter, v interface{})
cmd/dolphinbeat/http_handler.go:48
↓ 6 callersMethodPanicf
(format string, args ...interface{})
sink/logger.go:19
↓ 6 callersFunctionwriteError
(w http.ResponseWriter, err error)
cmd/dolphinbeat/http_handler.go:40
↓ 5 callersMethodGTIDSet
()
canal/master.go:69
↓ 5 callersMethodIsEventDuplicated
IsEventDuplicated tell whether this handler has received the event at sometime before
canal/handler_mux.go:81
↓ 5 callersMethodReset
Reset will be called to get a empty storage
schema/storage.go:32
↓ 5 callersMethodSetProgress
(p prog.Progress)
ckp/checkpoint.go:32
↓ 5 callersMethodTrxCount
()
canal/canal.go:442
↓ 4 callersMethodAddDatabases
(dbs ...string)
dump/dump.go:118
↓ 4 callersMethodDebugf
(format string, args ...interface{})
sink/logger.go:21
↓ 4 callersMethodDump
(w io.Writer)
dump/dump.go:145
↓ 4 callersMethodGetProgress
()
ckp/checkpoint.go:51
↓ 4 callersFunctionNewCheckpoint
()
ckp/checkpoint.go:72
↓ 4 callersMethodProgress
()
canal/master.go:34
↓ 4 callersMethodRegisterCheckpointer
(name string, ckper Checkpointer)
ckp/manager.go:264
↓ 4 callersMethodSave
Save syncs data into storage
ckp/storage.go:25
↓ 4 callersMethodUpdateGTIDSet
(gset mysql.GTIDSet)
canal/master.go:55
↓ 4 callersFunctionmakeColumns
(values []interface{})
sink/kafka/operation.go:165
↓ 4 callersFunctionmakeMockProgress
(name string, pos uint32)
ckp/manager_test.go:23
↓ 4 callersFunctionparseValues
(str string)
dump/parser.go:147
↓ 4 callersMethodserializeData
()
ckp/manager.go:211
↓ 3 callersMethodAddIgnoreTables
(db string, tables ...string)
dump/dump.go:131
↓ 3 callersMethodAddTables
(db string, tables ...string)
dump/dump.go:122
↓ 3 callersMethodCheckpoint
()
ckp/checkpoint.go:79
↓ 3 callersMethodGetCheckpoint
(name string)
ckp/manager.go:198
↓ 3 callersFunctionNewCkpManager
(cfg *Config)
ckp/manager.go:52
↓ 3 callersFunctionNewDefaultConfig
()
ckp/config.go:32
↓ 3 callersFunctionNewFileStorage
(path string)
ckp/storage_file.go:37
↓ 3 callersFunctionNewMockCheckpointer
(p prog.Progress)
ckp/checkpoint.go:144
↓ 3 callersMethodOnCommit
(h *replication.EventHeader, p prog.Progress)
canal/handler.go:29
↓ 3 callersMethodOnGTID
(h *replication.EventHeader, e *GtidEvent)
canal/handler.go:35
↓ 3 callersMethodSetErrOut
(o io.Writer)
dump/dump.go:97
↓ 3 callersMethodSetIntCtx
(key string, value int64)
ckp/checkpoint.go:87
↓ 3 callersMethodUpdate
(pos Position)
canal/prog/progress.go:26
↓ 3 callersMethodUpdateGTIDSet
(gset mysql.GTIDSet)
canal/prog/progress.go:30
↓ 3 callersFunctionmakeTableDef
(t *schema.TableDef)
sink/stdout/operation.go:214
↓ 3 callersFunctionmakeTableDef
(t *schema.TableDef)
sink/kafka/operation.go:180
↓ 3 callersMethodnewMessage
(groupId uint64, payload []byte)
sink/kafka/kafka.go:421
↓ 2 callersMethodClone
()
canal/prog/progress.go:45
↓ 2 callersMethodErr
()
sink/kafka/client/go/decoder.go:109
↓ 2 callersMethodGetMasterPos
()
canal/sync.go:322
↓ 2 callersMethodGetMasterServerID
()
canal/sync.go:371
↓ 2 callersMethodGetMinProgress
()
ckp/manager.go:160
↓ 2 callersMethodGetProgress
()
sink/kafka/protocol/protocol.pb.go:820
↓ 2 callersMethodLoad
Load read data from all two files, and return newer one, return nil data when read empty content and no error happened.
ckp/storage_file.go:108
↓ 2 callersFunctionNewCanal
(cfg *Config)
canal/canal.go:85
↓ 2 callersFunctionNewDefaultConfig
()
canal/config.go:135
↓ 2 callersFunctionNewDumper
(executionPath string, addr string, user string, password string)
dump/dump.go:63
↓ 2 callersMethodOnBegin
(h *replication.EventHeader)
canal/handler.go:28
↓ 2 callersMethodOnDDL
(h *replication.EventHeader, e *replication.QueryEvent, p prog.Progress)
canal/handler.go:32
↓ 2 callersMethodOnRotate
(h *replication.EventHeader, e *replication.RotateEvent)
canal/handler.go:37
↓ 2 callersMethodOnRow
(h *replication.EventHeader, e *RowsEvent)
canal/handler.go:33
↓ 2 callersFunctionParse
Parse the dump data with Dumper generate. It can not parse all the data formats with mysqldump outputs
dump/parser.go:64
↓ 2 callersFunctionPrimitiveDecode
(primCfg PrimitiveConfig, v interface{})
sink/config.go:23
↓ 2 callersFunctionRegisterSink
(tp string, f Factory)
sink/sink.go:46
↓ 2 callersMethodRun
()
cmd/dolphinbeat/app.go:296
↓ 2 callersMethodSaveSnapshot
SaveSnapshot will be called when schema tracker decides to save a snapshot
schema/storage.go:23
↓ 2 callersMethodSetCharset
(charset string)
dump/dump.go:89
↓ 2 callersMethodSetEventHandler
`SetEventHandler` registers the sync handler, you must register your own handler before starting Canal.
canal/handler.go:44
↓ 2 callersMethodStart
Start will first try to dump all data from MySQL master `mysqldump`, then sync from the binlog position in the dump data. It will run forever until me
canal/canal.go:221
↓ 2 callersMethodSyncedProgress
()
canal/canal.go:438
↓ 2 callersFunctionTrimStatement
(statement string)
canal/sync.go:388
↓ 2 callersMethodUpdateProgress
(progress prog.Progress)
canal/master.go:40
↓ 2 callersMethodUsage
()
cmd/dolphinbeat/app.go:78
↓ 2 callersMethodVersion
()
cmd/dolphinbeat/app.go:74
↓ 2 callersMethodWaitUntil
WaitUntil wait all sinks to reach a specified progress
ckp/manager.go:224
↓ 2 callersMethoddoProduce
doProduce send payload of bytes to kafka. If payload is too large to send, doProduce will make fragments, like IPv4 fragments.
sink/kafka/kafka.go:434
↓ 2 callersMethoddump
()
canal/dump.go:95
↓ 2 callersFunctionmakeProgress
(p prog.Progress)
sink/stdout/operation.go:192
↓ 2 callersFunctionmakeProgress
(p prog.Progress)
sink/kafka/operation.go:127
↓ 2 callersMethodrun
()
canal/canal.go:237
↓ 2 callersFunctionunescapeString
unescapeString un-escapes the string. mysqldump will escape the string when dumps, Refer http://dev.mysql.com/doc/refman/5.7/en/string-literals.html
dump/parser.go:205
↓ 2 callersMethodwriteBuffer
(buf []byte)
sink/stdout/stdout.go:135
↓ 1 callersMethodBinLog
Parse CHANGE MASTER TO MASTER_LOG_FILE=name, MASTER_LOG_POS=pos;
dump/parser.go:40
↓ 1 callersMethodCatchMasterPos
(timeout time.Duration)
canal/sync.go:362
↓ 1 callersMethodCheckpoint
()
ckp/checkpoint.go:148
↓ 1 callersMethodClose
()
sink/kafka/client/go/decoder.go:96
↓ 1 callersMethodClose
()
cmd/dolphinbeat/app.go:96
↓ 1 callersMethodCompare
(o Position)
canal/prog/position.go:32
↓ 1 callersMethodDDL
(schema string, statement string)
dump/parser.go:42
↓ 1 callersMethodData
(schema string, table string, values []string)
dump/parser.go:43
next →1–100 of 510, ranked by callers