Skip to content

Commit e5b7db6

Browse files
committed
Update README.md
1 parent 644e9ba commit e5b7db6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ BinLogPack.php打印了事件类型
2424
server-id=1
2525
binlog_format=row
2626

27+
## 持久化
28+
file-pos 保存了当前读取到binlog的filename和pos,保证程序异常退出后能继续读取binlog
29+
新项目运行时 要删除file-pos,从当前show master status,读取到的filename pos开始读取
30+
可以设置file-pos,程序则从当前设置的位置读取binlog
31+
2732

0 commit comments

Comments
 (0)