Currently go-pubsub doesn't allow passing list of topics for single kafka consumer.
type MessageSourceConfig struct {
ConsumerGroup string
Topic string
Brokers []string
Offset int64
MetadataRefreshFrequency time.Duration
Version *sarama.KafkaVersion
}
It would be nice if this would be
type MessageSourceConfig struct {
ConsumerGroup string
Topic []string
Brokers []string
Offset int64
MetadataRefreshFrequency time.Duration
Version *sarama.KafkaVersion
}
Currently go-pubsub doesn't allow passing list of topics for single kafka consumer.
It would be nice if this would be