Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(params *service.BootstrapParams) common.Daemon
NewService builds a new cadence-worker service
Types ¶
type Config ¶
type Config struct { ReplicationCfg *replicator.Config SysWorkflowCfg *sysworkflow.Config IndexerCfg *indexer.Config }
Config contains all the service config for worker
func NewConfig ¶
func NewConfig(dc *dynamicconfig.Collection) *Config
NewConfig builds the new Config for cadence-worker service
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the cadence-worker service. This service hosts all background processing needed for cadence cluster: 1. Replicator: Handles applying replication tasks generated by remote clusters. 2. Indexer: Handles uploading of visibility records to elastic search. 3. Sysworker: Handles running cadence client worker, thereby enabling cadence to host arbitrary system workflows
Click to show internal directories.
Click to hide internal directories.