refactor(go): make raw topics the realtime source
This commit is contained in:
@@ -190,7 +190,8 @@ func consumeKafka(ctx context.Context, logger interface {
|
||||
}
|
||||
|
||||
func kafkaTopicsFromEnv() []string {
|
||||
return splitCSV(env("KAFKA_TOPICS", topics.Unified))
|
||||
defaultTopics := strings.Join([]string{topics.RawGB32960, topics.RawJT808, topics.RawYutongMQTT}, ",")
|
||||
return splitCSV(env("KAFKA_TOPICS", defaultTopics))
|
||||
}
|
||||
|
||||
const kafkaMessageOperationTimeout = 30 * time.Second
|
||||
|
||||
Reference in New Issue
Block a user