除了配置迁移所用基本参数外,用户还可在指定位置自行配置工具自身的所用参数。但是portal会默认修改工具自身的临时文件和日志位置,并分配部分工具自身所用的端口。用户可自行查看并修改工具的配置文件,默认工具配置文件位置如下表。
注意事项:
- zookeeper默认端口2181、kafka默认端口9092、schema-registry默认端口8081不会自动分配,其余工具均会自动分配端口。用户如果需要修改工具的端口,请不要修改IP。如果需要修改kafka的端口,要注意将kafka的文件中的参数listeners的值修改为PLAINTEXT://localhost:要配置的端口。
- 下表使用${config}代表/ops/portal/config目录,即公共空间配置的参数。
- 下表使用${confluent.path}代表/ops/portal/config目录的toolspath.properties文件里面confluent.path的值。
- 每次创建新的任务时,/ops/portal/config/debezium目录的connect-avro-standalone.properties文件会被自动复制成四份并修改端口。
工具名称 | 配置文件位置 |
chameleon | ${config}/chameleon/config-example.yml |
zookeeper | ${confluent.path}/etc/kafka/zookeeper.properties |
kafka | ${confluent.path}/etc/kafka/server.properties |
schema-registry | ${confluent.path}/etc/schema-registry/schema-registry.properties |
connector-mysql | ${config}/debezium/connect-avro-standalone.properties |
${config}/debezium/mysql-source.properties | |
${config}/debezium/mysql-sink.properties | |
connector-opengauss | ${config}/debezium/connect-avro-standalone.properties |
${config}/debezium/opengauss-source.properties | |
${config}/debezium/opengauss-sink.properties | |
datacheck | ${config}/datacheck/application-source.yml |
${config}/datacheck/application-sink.yml | |
${config}/datacheck/application.yml |
详情查看:https://opengauss.org
详情查看:https://docs-opengauss.osinfra.cn