1. 替换原始 code 签名

2. 服务与模块生成器,支持指定起始端口批量端口分配

(cherry picked from commit e99da38fd4)
This commit is contained in:
chenbowen
2025-09-02 10:15:16 +08:00
committed by chenbowen
parent 9929ae8a39
commit 1e1216c150
778 changed files with 876 additions and 801 deletions

View File

@@ -10,7 +10,7 @@ import org.springframework.context.annotation.Bean;
/**
* RabbitMQ 消息队列配置类
*
* @author 芋道源码
* @author ZT
*/
@AutoConfiguration
@Slf4j

View File

@@ -34,7 +34,7 @@ import java.util.Properties;
/**
* Redis 消息队列 Consumer 配置类
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
@EnableScheduling // 启用定时任务,用于 RedisPendingMessageResendJob 重发消息

View File

@@ -13,7 +13,7 @@ import java.util.List;
/**
* Redis 消息队列 Producer 配置类
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
@AutoConfiguration(after = YudaoRedisAutoConfiguration.class)

View File

@@ -17,7 +17,7 @@ import java.util.List;
/**
* Redis MQ 操作模板类
*
* @author 芋道源码
* @author ZT
*/
@AllArgsConstructor
public class RedisMQTemplate {

View File

@@ -7,7 +7,7 @@ import cn.iocoder.yudao.framework.mq.redis.core.message.AbstractRedisMessage;
* 通过拦截器,作为插件机制,实现拓展。
* 例如说,多租户场景下的 MQ 消息处理
*
* @author 芋道源码
* @author ZT
*/
public interface RedisMessageInterceptor {

View File

@@ -17,7 +17,7 @@ import java.util.List;
*
* @see <a href="https://www.cnblogs.com/nanxiang/p/16179519.html">记一次 redis stream 数据类型内存不释放问题</a>
*
* @author 芋道源码
* @author ZT
*/
@Slf4j
@AllArgsConstructor

View File

@@ -8,7 +8,7 @@ import java.util.Map;
/**
* Redis 消息抽象基类
*
* @author 芋道源码
* @author ZT
*/
@Data
public abstract class AbstractRedisMessage {

View File

@@ -6,7 +6,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* Redis Channel Message 抽象类
*
* @author 芋道源码
* @author ZT
*/
public abstract class AbstractRedisChannelMessage extends AbstractRedisMessage {

View File

@@ -18,7 +18,7 @@ import java.util.List;
*
* @param <T> 消息类型。一定要填写噢,不然会报错
*
* @author 芋道源码
* @author ZT
*/
public abstract class AbstractRedisChannelMessageListener<T extends AbstractRedisChannelMessage> implements MessageListener {

View File

@@ -6,7 +6,7 @@ import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* Redis Stream Message 抽象类
*
* @author 芋道源码
* @author ZT
*/
public abstract class AbstractRedisStreamMessage extends AbstractRedisMessage {

View File

@@ -20,7 +20,7 @@ import java.util.List;
*
* @param <T> 消息类型。一定要填写噢,不然会报错
*
* @author 芋道源码
* @author ZT
*/
public abstract class AbstractRedisStreamMessageListener<T extends AbstractRedisStreamMessage>
implements StreamListener<String, ObjectRecord<String, String>> {