class KafkaProducer implements Producer<K, V> {

    @Override
    public void close() {
        close(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
    }

    public  KafkaProducer(Map<String, Object> configs);
    public  KafkaProducer(Map<String, Object> configs, Serializer<K> keySerializer, Serializer<V> valueSerializer);
    public  KafkaProducer(Properties properties);
    public  KafkaProducer(Properties properties, Serializer<K> keySerializer, Serializer<V> valueSerializer);
    @SuppressWarnings({ "unchecked", "deprecation" }) private  KafkaProducer(ProducerConfig config, Serializer<K> keySerializer, Serializer<V> valueSerializer);

}