update commmon and sep kafka group
This commit is contained in:
parent
a415823f84
commit
c9cf3b07b1
@ -70,6 +70,7 @@ type Options struct {
|
||||
ModuleLogger string `env:"MODULE_LOGGER" default:"core-local"`
|
||||
ClickHouseCred string `env:"CLICK_HOUSE_CRED" default:"tcp://10.8.0.15:9000/default?sslmode=disable"`
|
||||
S3Prefix string `env:"S3_PREFIX"`
|
||||
KafkaGroupGigaChat string `env:"KAFKA_GROUP_GIGA_CHAT" default:"gigachat"`
|
||||
KafkaTopicGigaChat string `env:"KAFKA_TOPIC_GIGA_CHAT"`
|
||||
}
|
||||
|
||||
@ -141,7 +142,7 @@ func New(ctx context.Context, opts interface{}, ver appInit.Version) (appInit.Co
|
||||
}
|
||||
|
||||
kafkaClientGigaChat, err := initialize.KafkaInit(ctx, initialize.KafkaDeps{
|
||||
KafkaGroup: options.KafkaGroup,
|
||||
KafkaGroup: options.KafkaGroupGigaChat,
|
||||
KafkaBrokers: options.KafkaBrokers,
|
||||
KafkaTopic: options.KafkaTopicGigaChat,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user