tidb_kafka

package
v0.9.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BinlogCheckInterval = time.Second
)

Functions

func ParseTimeStamp

func ParseTimeStamp(tso uint64) uint64

Types

type BinlogTailer

type BinlogTailer struct {
	// contains filtered or unexported fields
}

func NewBinlogTailer

func NewBinlogTailer(
	serverID uint32,
	config *gCfg.SourceTiDBConfig,
	emitter core.Emitter,
	binlogChecker binlog_checker.BinlogChecker,
) (*BinlogTailer, error)

func (*BinlogTailer) Close

func (t *BinlogTailer) Close()

func (*BinlogTailer) Start

func (t *BinlogTailer) Start() error

func (*BinlogTailer) Wait

func (t *BinlogTailer) Wait()

type DBOffsetStore

type DBOffsetStore struct {
	// contains filtered or unexported fields
}

func (*DBOffsetStore) Clear

func (s *DBOffsetStore) Clear(group string, topic []string)

func (*DBOffsetStore) Close

func (s *DBOffsetStore) Close() error

func (*DBOffsetStore) CommitOffset

func (*DBOffsetStore) FetchOffset

type KafkaOffsetStoreFactory

type KafkaOffsetStoreFactory struct {
	// contains filtered or unexported fields
}

func NewKafkaOffsetStoreFactory

func NewKafkaOffsetStoreFactory(config *config.SourceProbeCfg) *KafkaOffsetStoreFactory

func (*KafkaOffsetStoreFactory) GenOffsetStore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL