diff --git a/USERS.md b/USERS.md index 4b2f4602e9..8550541421 100644 --- a/USERS.md +++ b/USERS.md @@ -10,6 +10,7 @@ Organizations below are **officially** using Argo Events. Please send a PR with 1. [ArthurAI](https://arthur.ai/) 1. [BioBox Analytics](https://biobox.io) 1. [BlackRock](https://www.blackrock.com/) +1. [Bloomberg](https://www.bloomberg.com/) 1. [Canva](https://www.canva.com/) 1. [Carrefour](https://www.carrefour.com/) 1. [Codefresh](https://codefresh.io/) diff --git a/eventsources/sources/kafka/start.go b/eventsources/sources/kafka/start.go index bb7e240955..429b43cc20 100644 --- a/eventsources/sources/kafka/start.go +++ b/eventsources/sources/kafka/start.go @@ -96,14 +96,14 @@ func (el *EventListener) consumerGroupConsumer(ctx context.Context, log *zap.Sug switch kafkaEventSource.ConsumerGroup.RebalanceStrategy { case "sticky": - config.Consumer.Group.Rebalance.Strategy = sarama.BalanceStrategySticky + config.Consumer.Group.Rebalance.GroupStrategies = []sarama.BalanceStrategy{sarama.BalanceStrategySticky} case "roundrobin": - config.Consumer.Group.Rebalance.Strategy = sarama.BalanceStrategyRoundRobin + config.Consumer.Group.Rebalance.GroupStrategies = []sarama.BalanceStrategy{sarama.BalanceStrategyRoundRobin} case "range": - config.Consumer.Group.Rebalance.Strategy = sarama.BalanceStrategyRange + config.Consumer.Group.Rebalance.GroupStrategies = []sarama.BalanceStrategy{sarama.BalanceStrategyRange} default: log.Info("Invalid rebalance strategy, using default: range") - config.Consumer.Group.Rebalance.Strategy = sarama.BalanceStrategyRange + config.Consumer.Group.Rebalance.GroupStrategies = []sarama.BalanceStrategy{sarama.BalanceStrategyRange} } consumer := Consumer{