Microservice deployments are executed directly via Talend Remote Engine. For each microservice, the Data Service Runner starts a separate Java process as a subprocess of the Remote Engine itself.
Each microservice is deployed with a unique identifier and dynamically gets a unique HTTP port when started. It is displayed on the Task Details page in Talend Cloud Management Console after a successful deloyment.
The deployment with a unique identifier and HTTP port allows you to deploy the same Talend Cloud Artifact through multiple Tasks with different configurations on the same Remote Engine.
- an Artifact (the microservice ZIP based deployment)
- an application.properties file
- a context property file (depending on the Talend Cloud environment and the overwrite parameters set in Talend Cloud Management Console)
- running a new Java sub-process of the current Talend Remote Engine
During deployment, each microservice is attributed a network port starting from 5060 by default.
The number of deployed microservices is limited to 10 by default.
After a microservice is deployed, the only action linked to its unique identifier is undeployment. Undeployment means that every trace of its deployment is deleted from the <MicroserviceExecutionDirectory>. After undeployment, the network port is released and available for a new deployment.
If Talend Remote Engine, the Data Service Runner, or the host machine is stopped, every deployed microservice is stopped and kept in the <MicroserviceExecutionDirectory>. When all services are started again, the microservice is started with the same configuration as before.
Any configuration update between a start/stop is ignored by the deployed microservices. To avoid recovery, microservices should be undeployed.