云快充1.5.0 初始化

This commit is contained in:
3god
2024-10-08 09:38:54 +08:00
parent dea6774942
commit cb19b45919
297 changed files with 18020 additions and 28 deletions

View File

@@ -0,0 +1,19 @@
/**
* 抖音关注:程序员三丙
* 知识星球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();
}