This PR adds producer.Config and consumer.Config. These configurations must be created before using the Producer or the Consumer and passed to them.
This change allows the user to change the configuration as it wants before running the producer or consumer. The user has also access to the underlying Sarama and Sarama-Cluster configuration and can tweak it easily.
This PR adds
producer.Config
andconsumer.Config
. These configurations must be created before using the Producer or the Consumer and passed to them.This change allows the user to change the configuration as it wants before running the producer or consumer. The user has also access to the underlying Sarama and Sarama-Cluster configuration and can tweak it easily.