All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.weicoder.kafka.factory.KafkaProducerFactory Maven / Gradle / Ivy

There is a newer version: 3.6.2
Show newest version
package com.weicoder.kafka.factory;

import com.weicoder.common.factory.FactoryKey;
import com.weicoder.kafka.producer.Producers;

/**
 * kafka消费者工厂
 * @author WD
 */
final class KafkaProducerFactory extends FactoryKey {
	/** 工厂 */
	final static KafkaProducerFactory FACTORY = new KafkaProducerFactory();

	@Override
	public Producers newInstance(String key) {
		return new Producers(key);
	}

	private KafkaProducerFactory() {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy