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

import com.liquidnet.service.dragon.constant.DragonConstant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 支付商户通知消费
 */
@Slf4j
@Component
public class RedisMchNotifyFailReceiver extends AbstractRedisReceiver {

    @Override
    protected String getRedisStreamKey() {
        return DragonConstant.MysqlRedisQueueEnum.PAY_MCH_NOTIFY_ERROR_KEY.getCode();
    }

    @Override
    protected String getRedisStreamGroup() {
        return DragonConstant.MysqlRedisQueueEnum.PAY_MCH_NOTIFY_ERROR_GROUP.getCode();
    }
}
