cn.geektool.kafka.producer.process.DefaultKafkaProducer Maven / Gradle / Ivy
The newest version!
package cn.geektool.kafka.producer.process;
import cn.geektool.kafka.admin.event.KafkaEvent;
import org.apache.kafka.clients.producer.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cn.geektool.core.observer.AbstractObServer;
import cn.geektool.kafka.admin.external.IKafkaProducer;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.Future;
/**
* Kafka生产者
*
* @author jiangdi
* @since 0.0.1
*/
public class DefaultKafkaProducer extends AbstractObServer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy