2024年3月21日
摘要: https://blog.csdn.net/AlbenXie/article/details/120341867配置 // 设置为批量消费,每个批次数量在Kafka配置参数中设置factory.setBatchListener(true); type: batch concurrency: 在消费的 阅读全文
posted @ 2024-03-21 16:43 daofree 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 配置 # 自定义分区# partitioner:# class: com.dfree.data.config.PartitionerByKey 代码//public class PartitionerByKey implements Partitioner {// @Override// publi 阅读全文
posted @ 2024-03-21 08:55 daofree 阅读(10) 评论(0) 推荐(0) 编辑