Table of Contents

Class ServiceConfig

Namespace
Virtufin.Api.Configuration
Assembly
Virtufin.Api.dll
public class ServiceConfig
Inheritance
ServiceConfig
Inherited Members

Constructors

ServiceConfig()

public ServiceConfig()

Properties

Dialable

Whether this entry names a backend the gateway can actually dial. Defaults to true.

public bool Dialable { get; set; }

Property Value

bool

Remarks

Some entries exist only to give State.* a key for resolving StoreName -- the statestore entry is one, and its grpc.host/port pointed at the gateway's own listener. Left dialable, such an entry inflates Gateway.ListServices, and reflection list recurses into this process: the resolver iterates every configured service, so the gateway probes itself, re-enters the cache/channel entry whose load is already in flight, and stalls until the probe times out (and fails outright under API-key auth, since the self-probe sends no key).

Grpc

public GrpcConfig Grpc { get; set; }

Property Value

GrpcConfig

Name

public string Name { get; set; }

Property Value

string

Pubsub

public PubsubConfig Pubsub { get; set; }

Property Value

PubsubConfig

State

public StateConfig State { get; set; }

Property Value

StateConfig