跳到主要内容 跳到补充内容

配置和启动 Talend Dictionary Service

步骤

  1. 打开 <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 节点的端口。

    在属性文件中输入的所有密码在您启动 Talend Dictionary Service 实例时加密。

  2. 将以下字段更新为您的 MongoDB 设置:

    字段

    描述

    dq.mongo.host

    MongoDB 实例的主机名。

    dq.mongo.port

    MongoDB 实例的端口号。

    dq.mongo.username

    用于连接到该数据库的用户名。

    dq.mongo.password

    用于连接到数据库的密码。

    dq.mongo.database.name

    Talend Dictionary Service 连接的数据库的名称,默认为 dqdict。

    dq.mongo.mongodbUri 要连接 MongoDB 实例的 URI

    如果你通过URI连接到MongoDB实例,必须排除以下参数: dq.mongo.host, dq.mongo.port, dq.mongo.username, dq.mongo.password, dq.mongo.database.name

    信息注释注: 仅当安装了 Talend 提供的 TPS-4354 补丁时,此配置参数才可用。更多信息,请与您的管理员确认。
  3. 启动 MongoDB。
  4. 转到 dq_dict\database 文件夹并编辑 semantic-dictionary-import.bat 脚本。
  5. 将变量替换为您的 MongoDB 凭据。
  6. 执行该脚本。
  7. 通过按顺序启动下列组件来启动 Talend Dictionary Service
    • Apache ZooKeeper
    • Apache Kafka
    • Apache Tomcat

本页面有帮助吗?

如果您发现此页面或其内容有任何问题 – 打字错误、遗漏步骤或技术错误 – 请告诉我们如何改进!