Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Frontend is the name of the frontend service Frontend = "cadence-frontend" // History is the name of the history service History = "cadence-history" // Matching is the name of the matching service Matching = "cadence-matching" // Worker is the name of the worker service Worker = "cadence-worker" // ShardDistributor is the name of the shard distributor service ShardDistributor = "cadence-shard-distributor" )
Variables ¶
View Source
var List = []string{Frontend, History, Matching, Worker, ShardDistributor}
List contains the list of all cadence services
ListWithRing contains the list of all cadence services that has a hash ring
Functions ¶
func GetMetricsServiceIdx ¶ added in v0.5.0
func GetMetricsServiceIdx(serviceName string, logger log.Logger) metrics.ServiceIdx
GetMetricsServiceIdx returns the metrics name
func ShortNames ¶ added in v0.24.0
Types ¶
type Config ¶ added in v0.24.0
type Config struct {
PersistenceMaxQPS dynamicproperties.IntPropertyFn
PersistenceGlobalMaxQPS dynamicproperties.IntPropertyFn
ThrottledLoggerMaxRPS dynamicproperties.IntPropertyFn
// WriteVisibilityStoreName is the write mode of visibility
WriteVisibilityStoreName dynamicproperties.StringPropertyFn
// EnableLogCustomerQueryParameter is to enable log customer parameters
EnableLogCustomerQueryParameter dynamicproperties.BoolPropertyFnWithDomainFilter
// ReadVisibilityStoreName is the read store for visibility
ReadVisibilityStoreName dynamicproperties.StringPropertyFnWithDomainFilter
// configs for db visibility
EnableDBVisibilitySampling dynamicproperties.BoolPropertyFn `yaml:"-" json:"-"`
EnableReadDBVisibilityFromClosedExecutionV2 dynamicproperties.BoolPropertyFn `yaml:"-" json:"-"`
WriteDBVisibilityOpenMaxQPS dynamicproperties.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
WriteDBVisibilityClosedMaxQPS dynamicproperties.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
DBVisibilityListMaxQPS dynamicproperties.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
// configs for es visibility
ESIndexMaxResultWindow dynamicproperties.IntPropertyFn `yaml:"-" json:"-"`
ValidSearchAttributes dynamicproperties.MapPropertyFn `yaml:"-" json:"-"`
PinotOptimizedQueryColumns dynamicproperties.MapPropertyFn `yaml:"-" json:"-"`
SearchAttributesHiddenValueKeys dynamicproperties.MapPropertyFn `yaml:"-" json:"-"`
// deprecated: never read from, all ES reads and writes erroneously use PersistenceMaxQPS
ESVisibilityListMaxQPS dynamicproperties.IntPropertyFnWithDomainFilter `yaml:"-" json:"-"`
IsErrorRetryableFunction backoff.IsRetryable
}
Config is a subset of the service dynamic config for single service
Click to show internal directories.
Click to hide internal directories.