Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService( params *resource.BootstrapParams, ) (resource.Resource, error)
NewService builds a new worker service
Types ¶
type Config ¶
type Config struct { ReplicationCfg *replicator.Config ArchiverConfig *archiver.Config IndexerCfg *indexer.Config ScannerCfg *scanner.Config BatcherCfg *batcher.Config ThrottledLogRPS dynamicconfig.IntPropertyFn PersistenceGlobalMaxQPS dynamicconfig.IntPropertyFn EnableBatcher dynamicconfig.BoolPropertyFn VisibilityQueue dynamicconfig.StringPropertyFn 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: 1. Replicator: Handles applying replication tasks generated by remote clusters. 2. Indexer: Handles uploading of visibility records to elastic search. 3. Archiver: Handles archival of workflow histories.
Click to show internal directories.
Click to hide internal directories.