package com.iailab.framework.mq.redis.core.stream;
|
|
import com.iailab.framework.mq.redis.core.message.AbstractRedisMessage;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
/**
|
* Redis Stream Message 抽象类
|
*
|
* @author iailab
|
*/
|
public abstract class AbstractRedisStreamMessage extends AbstractRedisMessage {
|
|
/**
|
* 获得 Redis Stream Key,默认使用类名
|
*
|
* @return Channel
|
*/
|
@JsonIgnore // 避免序列化
|
public String getStreamKey() {
|
return getClass().getSimpleName();
|
}
|
|
}
|