Documentation ¶
Index ¶
- Variables
- func ParamsExpandProvider(params *resource.BootstrapParams) (log.Logger, esclient.Client, common.RPCFactory, dynamicconfig.Client)
- func PersistenceMaxQpsProvider(serviceConfig *Config) persistenceClient.PersistenceMaxQps
- func ServiceLifetimeHooks(lc fx.Lifecycle, svcStoppedCh chan struct{}, svc *Service)
- func ThrottledLoggerRpsFnProvider(serviceConfig *Config) resource.ThrottledLoggerRpsFn
- type Config
- type Service
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ParamsExpandProvider ¶ added in v1.13.0
func ParamsExpandProvider(params *resource.BootstrapParams) ( log.Logger, esclient.Client, common.RPCFactory, dynamicconfig.Client, )
func PersistenceMaxQpsProvider ¶ added in v1.13.0
func PersistenceMaxQpsProvider( serviceConfig *Config, ) persistenceClient.PersistenceMaxQps
func ServiceLifetimeHooks ¶ added in v1.13.0
func ThrottledLoggerRpsFnProvider ¶ added in v1.13.0
func ThrottledLoggerRpsFnProvider(serviceConfig *Config) resource.ThrottledLoggerRpsFn
Types ¶
type Config ¶
type Config struct { ArchiverConfig *archiver.Config ScannerCfg *scanner.Config ParentCloseCfg *parentclosepolicy.Config BatcherCfg *batcher.Config ThrottledLogRPS dynamicconfig.IntPropertyFn PersistenceMaxQPS dynamicconfig.IntPropertyFn PersistenceGlobalMaxQPS dynamicconfig.IntPropertyFn EnableBatcher dynamicconfig.BoolPropertyFn EnableParentClosePolicyWorker dynamicconfig.BoolPropertyFn }
Config contains all the service config for worker
func NewConfig ¶
func NewConfig(params *resource.BootstrapParams) *Config
NewConfig builds the new Config for worker service
type Service ¶
Service represents the temporal-worker service. This service hosts all background processing needed for temporal cluster: Replicator: Handles applying replication tasks generated by remote clusters. Archiver: Handles archival of workflow histories.
func NewService ¶
Directories ¶
Path | Synopsis |
---|---|
Package archiver is a generated GoMock package.
|
Package archiver is a generated GoMock package. |
Package parentclosepolicy is a generated GoMock package.
|
Package parentclosepolicy is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.