diff --git a/service/worker/service.go b/service/worker/service.go index ca665b160f7..210c882f282 100644 --- a/service/worker/service.go +++ b/service/worker/service.go @@ -150,6 +150,7 @@ func NewConfig(params *resource.Params) *Config { }, MaxWorkflowRetentionInDays: dc.GetIntProperty(dynamicconfig.MaxRetentionDays), }, + KafkaCfg: params.KafkaConfig, BatcherCfg: &batcher.Config{ AdminOperationToken: dc.GetStringProperty(dynamicconfig.AdminOperationToken), ClusterMetadata: params.ClusterMetadata,