code: public static KafkaProducer<String, byte[]> createKafkaProducer(ProducerType type,
              String bootstrapServers) {
          return createKafkaProducer(type, bootstrapServers, null);
      }
docs: Creates a new {@link KafkaProducer} instance, with default
  configurations.
  
  @param type
  @param bootstrapServers
  @return