heetch / felice

Felice is a nascent, opinionated Kafka library for Go, in Go
MIT License
20 stars 1 forks source link

Export config #31

Closed asdine closed 5 years ago

asdine commented 5 years ago

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.

asdine commented 5 years ago

:up: