Skip to content

Ratel registry server

lukaszPulawski edited this page Apr 9, 2015 · 2 revisions

Introduction

Ratel comes bundled with a simple, single-node service registry server.

Running the server

In order to run the server just download the ratel-server-.jar from maven repository and run it with

java -jar ratel-server-<version>.jar 

The application should start at a default port 8090 and you should see list of registered services at http://localhost:8090/services/. If your port is busy, you can change it by switching property server.port:

java -jar ratel-server-<version>.jar --server.port=8070

Please note that all applications bound to the registry server must be configured accordingly, thus the port used by the registry server must be repeated in the serviceDiscovery.address property:

java -jar myApplication.jar --serviceDiscovery.address=http://ratel-server.mydomain.com:8070/server/discovery

Further reading on that can be found in the Configuration page.

Clone this wiki locally