package com.mortals.xhx.queue.kafka;


import com.mortals.xhx.queue.TbQueueMsg;

import java.io.IOException;

/**
 * 队列消息编码
 *
 * @author: zxfei
 * @date: 2021/11/22 11:22
 */
public interface TbKafkaDecoder<T extends TbQueueMsg> {

    T decode(TbQueueMsg msg) throws IOException;

}
