Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FrontendRetryLimit is the number of times frontend will try to be connected to before giving up FrontendRetryLimit = 5 // PollingDelay is the amount of time to wait between polling frontend PollingDelay = time.Second )
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 host all background processing which needs to happen for a Cadence cluster. This service runs the replicator which is responsible for applying replication tasks generated by remote clusters.
Click to show internal directories.
Click to hide internal directories.