PeerProperties

How the node calls its peers over HTTP, whichever peer: one HTTP client, these settings.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

How long a request may take to connect.

Link copied to clipboard

How the node finds the internal ports of a peer's nodes: dns (the default) looks up the DNS SRV records wow.peer.dns.name-template names after the peer's service, as its contract on the class path or its Manifest names it; static takes wow.peers.<context>.url alone; spring-cloud, with wow-spring-cloud on the class path, reads the instances a Spring Cloud service registry has of the service; another value names a community provider's discovery. Each is configured under wow.peer.<type> by the options it declares. A peer's url wins over any discovery.

Link copied to clipboard

The headers of the public request it serves that a user-mode request forwards.

Link copied to clipboard

The mode of a peer that names none: service, through its internal port as this service, or user, through its public routes with the end user's credential.

Link copied to clipboard

How a typed client's request that a peer answered with a problem a retry may get past is sent again; a saga's call is not retried here, its subscription's retry budget is the one that counts.

Link copied to clipboard

How long a request may take to be answered, a command's longer wait aside; wow.peers.<context>.timeout overrides it for one peer.