Package ratpack.consul

Support for integrating Ratpack applications with Hashicorp's Consul service discovery and distributed configuration engine.

Key Features

The Consul support provides the following key features:

  • Support for reading data from Consul's distributed Key-Value store as a ByteSource.

Using Consul Key-Value store to provide application configuration

The Consul integration provides support for reading values from Consul's Key-Value store as a ByteSource. The ByteSource can then be provided to Ratpack's configuration parsing methods: