Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.Advanced TutorialsBuild end-to-end workflows between two specific systems.API ReferenceCLI ReferenceRelease Notes
Version: 2.0.0

BinlogPosition

class
class BinlogPosition(file: str, pos: int)

Categories: source

CDC start position: a binlog file + byte offset.

A start_from value in the pre-GTID position shape.

Parameters

parameter
filestr

Binlog filename as reported by SHOW BINARY LOGS (e.g. "mysql-bin.000001").

parameter
posint

Byte offset within file. The binlog magic bytes occupy positions 0-3; use 4 to replay from the beginning.