Skip to content

Commit

Permalink
Fix kafka writer configuration causing kafka to ignore key for (#195)
Browse files Browse the repository at this point in the history
partition distribution
  • Loading branch information
OlivierCazade committed Oct 2, 2023
1 parent eafd494 commit d744773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func buildKafkaExporter(cfg *Config) (node.TerminalFunc[[]*flow.Record], error)
Async: cfg.KafkaAsync,
Compression: compression,
Transport: &transport,
Balancer: &kafkago.RoundRobin{},
Balancer: &kafkago.Hash{},
},
}).ExportFlows, nil
}
Expand Down

0 comments on commit d744773

Please sign in to comment.