package com.liquidnet.service.consumer.base.receiver;

import com.liquidnet.service.base.constant.MQConst;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: ConsumerGalaxySqlNftOrderFailLogReceiver
 * @Package com.liquidnet.service.consumer.slowly.receiver
 * @Copyright: LightNet @ Copyright (c) 2022
 * @date 2022/4/7 10:56
 */
@Slf4j
@Component
public class ConsumerGalaxySqlNftOrderFailLogReceiver extends AbstractSqlRedisReceiver {

    @Override
    protected String getRedisStreamKey() {
        return MQConst.GalaxyQueue.SQL_NFT_ORDER_FAIL_LOG.getKey();
    }

    @Override
    protected String getRedisStreamGroup() {
        return MQConst.GalaxyQueue.SQL_NFT_ORDER_FAIL_LOG.getGroup();
    }
}
