code: func (ref *Config) ValidateSyncProducerConfig() error {
  	if ref.Brokers == nil {
  		return errors.New("invalid Brokers - one or more brokers must be specified")
  	}
  	return ref.ProducerConfig().Validate()
  }
docs: // ValidateSyncProducerConfig validates config for a Sync Producer