code: func NewConfig(log logging.Logger) *Config {
  
  	cfg := &Config{
  		Logger:       log,
  		Config:       cluster.NewConfig(),
  		Partition:    -1,
  		Partitioner:  sarama.NewHashPartitioner,
  		RequiredAcks: AcksUnset,
  	}
  
  	return cfg
  }
docs: // NewConfig return a new Config object.