适用产品...
Big Data Platform
Data Fabric
Data Management Platform
Data Services Platform
MDM Platform
Real-Time Big Data Platform
步骤
-
打开 <Tomcat>/conf/data-quality.properties 文件并编辑以下 Talend Dictionary Service 属性:
字段
操作
oidc.url 输入 Talend Identity and Access Management 的 URL,例如 http://localhost:9080/oidc。 scim.url 输入 Talend Identity and Access Management SCIM 的 URL,例如 http://localhost:9080/scim。 oidc.semanticservice.id 输入 Talend Identity and Access Management OIDC 客户端标识符。 oidc.semanticservice.secret 输入 Talend Identity and Access Management OIDC 密码。 spring.cloud.stream.kafka.binder.brokers 输入对应于您的 Kafka 代理的主机。 spring.cloud.stream.kafka.binder.defaultBrokerPort 输入对应于您的 Kafka 代理的端口。 spring.cloud.stream.kafka.binder.zkNodes 输入对应于您的 ZooKeeper 节点的主机。 spring.cloud.stream.kafka.binder.defaultZkPort 输入对应于您的 ZooKeeper 节点的端口。 tsd.maven.connector.s3Repository.base-path 输入您的 MinIO 或 S3 构件库桶的 URL。 例如: s3://talend-app-shared。
tsd.maven.connector.s3Repository.username 输入您的 MinIO 或 S3 构件库的基础路径。此参数为可选配置,可以留空。 例如: semantic-types-repository。
tsd.maven.connector.s3Repository.password 输入您的 MinIO 或 S3 构件库的名称。 例如: USERNAME123。
tsd.maven.connector.s3Repository.s3.region 输入您的 MinIO 或 S3 构件库的密码。 例如: PASSWORD123。
tsd.maven.connector.s3Repository.s3.endpoint 输入您的 MinIO 或 S3 构件库的区域。 例如: us-east-1。
tsd.maven.connector.s3Repository.bucket-url 输入您的 MinIO 或 S3 构件库的 URL。 例如: https://minio-company.com。
在属性文件中输入的所有密码在您启动 Talend Dictionary Service 实例时加密。
-
将以下字段更新为您的 MongoDB 设置:
字段
描述
spring.data.mongodb.host MongoDB 实例的主机名。 spring.data.mongodb.port MongoDB 实例的端口号。 spring.data.mongodb.username 用于连接到该数据库的用户名。 spring.data.mongodb.password 用于连接到数据库的密码。
spring.data.mongodb.database Talend Dictionary Service 连接的数据库的名称,默认为 dqdict。 spring.data.mongodb.uri 要连接 MongoDB 实例的 URI 如果您使用 URI 连接到 MongoDB 实例,必须注释掉以下参数:
dq.mongo.host
、dq.mongo.port
、dq.mongo.username
、dq.mongo.password
、dq.mongo.database.name
重要: 仅当安装了 Talend 提供的 TPS-4354 补丁时,此配置参数才可用。更多信息,请与您的管理员确认。spring.data.mongodb.ssl 默认值为 false
,如果您需要使用 SSL 协议及 MongoDB,请将其设为true
spring.data.mongodb.ssl.trust-store 信任库位置。 spring.data.mongodb.ssl.trust-store-password 信任库密码。 启动后密码被加密。
- 启动 MongoDB。
- 转到 dq_dict\database 文件夹并编辑 semantic-dictionary-import.bat 脚本。
- 将变量替换为您的 MongoDB 凭据。
- 执行该脚本。
-
通过按下列顺序启动组件来启动 Talend Dictionary Service:
- Apache ZooKeeper
- Apache Kafka
- Apache Tomcat
- MinIO