Skip to content
New issue

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

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

Already on GitHub? # to your account

dump 历史数据无效 #21

Open
pythondever opened this issue Oct 5, 2019 · 0 comments
Open

dump 历史数据无效 #21

pythondever opened this issue Oct 5, 2019 · 0 comments

Comments

@pythondever
Copy link

运行环境:win10
数据库环境:pg 10.9.0
es版本:7.4
已经将pg_dump 配置到环境变量了
配置信息:
{
"pg_dump_path": "",
"subscribes": [{
"dump": true,
"slotName": "tms_for_es",
"pgConnConf": {
"host": "127.0.0.1",
"port": 5432,
"database": "pg2",
"user": "postgres",
"password": "post"
},
"rules": [
{
"table": "product",
"pks": ["tid"],
"esid": ["id"],
"index": "product_name",
"type": "string"
},
{
"table": "version_object",
"pks": ["tid"],
"esid": ["id"],
"index": "version",
"type": "string"
}
],
"esConf": {
"addrs": "http://localhost:9200",
"user": "",
"password": ""
},
"retry": -1
}]
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant