Comments (4)
it follows the MySQL replication protocol
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication.html
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_com_binlog_dump.html
from go-mysql.
Thank you @lance6716 . So this is use to request binlog data from mysql. Once connection is established and COM_BINLOG_DUMP command is sent we start getting the data continuously from the bingo file from the provided start position?
from go-mysql.
yes it's decribed in the doc
Network streams are requested with COM_BINLOG_DUMP and prepend each Binlog Event with 00 OK-byte.
from go-mysql.
from go-mysql.
Related Issues (20)
- Why In OnRow e.Header is nil ,no e.Header.LogPos
- canal can't send create index and drop index sql HOT 2
- MySQL 8.3 will introduce new GTID format
- [Warning] Aborted connection 52412 to db: 'unconnected' user: 'boss' host: '' (Got an error reading communication packets) HOT 7
- how to remove log output HOT 2
- column values missing
- How to use TRANSACTION_CONTEXT_EVENT for the replication HOT 2
- Driver Compression Enablement HOT 5
- Enabling compression on client connection results in "connection was bad" error HOT 4
- Setting collations need adjustment HOT 2
- Support MySQL 8.4.0
- Client unable to select from function when compression is enabled. HOT 5
- to exclude databases with ExcludeTableRegex
- Random connection failure in readInitialHandshake() HOT 12
- Add support for using RDS IAM with canal HOT 2
- Can I use this library to parse bytes to MySQL protocol? HOT 1
- There is one more column when consuming Alibaba Cloud PolarDB HOT 11
- When consuming Alibaba Cloud PolarDB, there is one more column than the fields in the table. HOT 3
- Can we use it to parse the sql and its response from the tcp stream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mysql.