What happens when a service changes its routes?

Great question! When a service is launched, in addition to registering itself and publishing its routes, it also broadcast a message to all Hydra-Router services so they can update their route information for the newly updated service. This is done on a per service basis so other service routes remain unaffected.

What if a service instance is unavailable?

If an active instance of a service can't be found then Hydra-Router will reply with a standard HTTP 503 (HTTP_SERVICE_UNAVAILABLE) error.

So what's the catch?

HydraRouter can only be used with Hydra-enabled services and can only route JSON message payloads. However, the most common HTTP verbs are supported so you can send GET, POST, DELETE and PUT requests.

results matching ""

    No results matching ""