Files
JChargePointProtocol/jcpp-infrastructure-queue/src/main/java/sanbing/jcpp/infrastructure/queue/QueueProducer.java

20 lines
385 B
Java
Raw Normal View History

2024-10-08 09:38:54 +08:00
/**
* 抖音关注程序员三丙
* 知识星球https://t.zsxq.com/j9b21
*/
package sanbing.jcpp.infrastructure.queue;
import sanbing.jcpp.infrastructure.queue.common.TopicPartitionInfo;
public interface QueueProducer<T extends QueueMsg> {
void init();
String getTopic();
void send(TopicPartitionInfo tpi, T msg, QueueCallback callback);
void stop();
}