数据同步
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.toml 510B

2 months ago
2 months ago
1234567891011121314151617181920212223242526
  1. [server]
  2. #host = "10.180.4.88"
  3. host = "127.0.0.1"
  4. port = 9090
  5. [client]
  6. max_retries = 2
  7. retry_delay_secs = 3
  8. read_timeout_secs = 5
  9. write_timeout_secs = 5
  10. [database]
  11. #host = "10.180.4.100"
  12. host = "192.168.0.100"
  13. port = 5432
  14. name = "Auseft_RL_Web"
  15. user = "postgres"
  16. password = "Auseft@2025qwer"
  17. # 要同步的表配置
  18. [[tables]]
  19. name = "hy_record"
  20. query = "SELECT * FROM hy_record where hy_code= 'R25041402C'"
  21. incremental = false # 是否增量同步
  22. key_field = "UpdateTime" # 增量同步的时间字段