Service Locator - 7.3

Talend ESB Development Guide

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Last publication date
2023-04-17

The Service Locator provides service consumers with a mechanism to register, and also discover service endpoints at runtime, thus isolating consumers from the knowledge about the physical location of the endpoint. Talend ESB uses Apache ZooKeeper as its service locator server. Zookeeper can be used either in standalone, therefore it is located within the Talend ESB distribution at <TalendRuntimePath>/zookeeper or as an OSGi feature in the Talend Runtime Container. Please see http://zookeeper.apache.org/ for more information about ZooKeeper. Also note the examples folder of the Talend ESB distribution provides a "locator" example you can learn from.

In this section, you learn how to use the Service Locator via a simple greeting example.