Skip to main content Skip to complementary content

Configuring and starting Talend Dictionary Service

Procedure

  1. Open the dq_dict/config/data-quality.properties file and edit the following Talend Dictionary Service properties:

    Field

    Action

    oidc.url Enter the URL to Talend Identity and Access Management, for example http://localhost:9080/oidc.
    scim.url Enter the URL to Talend Identity and Access Management SCIM, for example http://localhost:9080/scim.
    oidc.semanticservice.id Enter the Talend Identity and Access Management OIDC client identifier.
    oidc.semanticservice.secret Enter the Talend Identity and Access Management OIDC password.
    spring.cloud.stream.kafka.binder.brokers Enter the host corresponding to your Kafka broker.
    spring.cloud.stream.kafka.binder.defaultBrokerPort Enter the port corresponding to your Kafka broker.
    spring.cloud.stream.kafka.binder.zkNodes Enter the host corresponding to your ZooKeeper node.
    spring.cloud.stream.kafka.binder.defaultZkPort Enter the port corresponding to your ZooKeeper node.
    tsd.maven.connector.s3Repository.base-path Enter the base path of your MinIO or S3 repository. This property is optional and can be left empty.

    For example: semantic-types-repository.

    tsd.maven.connector.s3Repository.username Enter the username of your MinIO or S3 repository.

    For example: USERNAME123.

    tsd.maven.connector.s3Repository.password Enter the password of your MinIO or S3 repository.

    For example: PASSWORD123.

    tsd.maven.connector.s3Repository.s3.region Enter the region of your MinIO or S3 repository.

    For example: us-east-1.

    tsd.maven.connector.s3Repository.s3.endpoint Enter the URL of your MinIO or S3 repository server. For example: http://127.0.0.1:9000.
    tsd.maven.connector.s3Repository.bucket-url Enter the URL of your MinIO or S3 repository bucket.

    For example: s3://default-bucket.

    All the passwords entered in the properties file are encrypted when you start your Talend Dictionary Service instance.

  2. Update the following fields with your MongoDB settings:

    Field

    Description

    spring.data.mongodb.host Host name of your MongoDB instance. For example: localhost.
    spring.data.mongodb.port Port number of your MongoDB instance. For example: 27017.
    spring.data.mongodb.username Username used to connect to the database. For example: dqdict-user.
    spring.data.mongodb.password

    Password used to connect to the database. For example: duser.

    spring.data.mongodb.database Name of the database on which Talend Dictionary Service is connected, dqdict by default.
    spring.data.mongodb.uri URI of the MongoDB instance to connect to

    If you connect to the MongoDB instance using a URI, the following parameters must be commented out: dq.mongo.host, dq.mongo.port, dq.mongo.username, dq.mongo.password, dq.mongo.database.name

    Information noteImportant: This configuration parameter is available only if you have installed the TPS-4354 patch delivered by Talend. For more information, check with your administrator.
    spring.data.mongodb.ssl Default value is false, put to true if you need to use the Secure Socket Layer protocol with MongoDB
    spring.data.mongodb.ssl.trust-store Trust store location.
    spring.data.mongodb.ssl.trust-store-password Trust store password.

    Password is encrypted upon startup.

  3. Launch MongoDB.
  4. Locate the file semantic-dictionary-import.sh.
  5. Open this file with an editor and update the placeholders:
    • %%%MONGO_HOST%%%: the host for MongoDB. For example, 127.0.0.1.
    • %%%MONGO_PORT%%%: the port for MongoDB. For example, 27017.
    • %%%MONGO_DBNAME%%%: the database name for MongoDB. For example, use dqdict for default settings.
    • %%%MONGO_USER%%%: the username for the Talend Dictionary Service database. For example, use dqdict-user for default settings.
    • %%%MONGO_PWD%%%: the password for the Talend Dictionary Service database. For example, use duser for default settings.
  6. Optional: In that script, the mongorestore utility is called from PATH. It is recommended to specify the exact path to it.
  7. Save your changes.
  8. Make this file executable by running the following command:
    chmod +x semantic-dictionary-import.sh
  9. Start Talend Dictionary Service by launching, in this order:
    1. Apache ZooKeeper
    2. Apache Kafka
    3. MinIO
    4. start.sh file

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!