Setting up Jolokia - Cloud

Talend Remote Engine User Guide for Windows

EnrichVersion
Cloud
EnrichProdName
Talend Cloud
EnrichPlatform
Talend Remote Engine
task
Design and Development
Installation and Upgrade

You can run Spring Boot 2 microservices and metrics.

Before you begin

  • You have created a custom application.properties file allowing HTTPS connections.
  • You have renamed and saved it in a directory that the Talend Remote Engine can access.

Procedure

  1. Open the custom properties file.
  2. Add the following command lines:
    management.security.enabled=false
    cxf.springboot.jmxEnabled=true
    management.endpoints.web.exposure.include=*,jolokia
    management.endpoints.web.base-path=/
    management.endpoints.web.path-mapping.jolokia=jolokia
  3. Save the file.
  4. Open <RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.metrics.collector.cfg.
  5. Add the following command lines:
    # Jolokia URL for TLS enabled microservices. Must contain string {ms.port}
    ms.metric.collection.jolokia.url=https://localhost:{ms.port}/jolokia
    # Jolokia configuration for basic authentication
    ms.metric.collection.jolokia.username=user_name
    ms.metric.collection.jolokia.password=password
    Important: The user name and password must be the same as defined for the basic authentication.
  6. Save the file.

What to do next

Deploy your custom application.properties file.