Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc-#978][docs-connector-binlog] update other 'journal-name' in text #993

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private void checkBinlogFile(String journalName) {
binlogConf.getUsername(),
binlogConf.getPassword())
.check(journalName)) {
throw new IllegalArgumentException("Can't find journalName: " + journalName);
throw new IllegalArgumentException("Can't find journal-name: " + journalName);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion chunjun-examples/json/binlog/binlog_stream.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"host" : "localhost",
"port" : 3306,
"start" : {
"journalName": "mysql-bin.000001"
"journal-name": "mysql-bin.000001"
},
"table" : [ ],
"splitUpdate" : true,
Expand Down
4 changes: 2 additions & 2 deletions docs/connectors-en/binlog/binlog-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ Why does Binlog need these permissions:

- **start**
- Description: The starting position of the binlog file to be read
- Note: If it is empty, it will be consumed from the current position, and the priority of timestamp is higher than journalName+position
- Note: If it is empty, it will be consumed from the current position, and the priority of timestamp is higher than journal-name+position
- Parameters:
- timestamp: timestamp, the start point of collection is consumed from the specified timestamp;
- journalName: file name, the start point of collection is consumed from the beginning of the specified file;
- journal-name: file name, the start point of collection is consumed from the beginning of the specified file;
- position: the specified position of the file, the start point of collection is consumed from the specified position of the specified file
- Field type: map
- Default value: none
Expand Down
2 changes: 1 addition & 1 deletion docs/connectors/binlog/binlog-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Binlog为什么需要这些权限:

- **start**
- 描述:要读取的binlog文件的开始位置
- 注意:为空,则从当前position处消费,timestamp的优先级高于 journalName+position
- 注意:为空,则从当前position处消费,timestamp的优先级高于 journal-name+position
- 参数:
- timestamp:时间戳,采集起点从指定的时间戳处消费;
- journal-name:文件名,采集起点从指定文件的起始处消费;
Expand Down