package cn.com.taiji.track.service;

import cn.com.taiji.track.entity.BeidouTrackEntity;
import cn.com.taiji.track.entity.WarningRecordEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.kafka.clients.consumer.ConsumerRecord;

import java.util.List;

/**
 * @author kok20
 */
public interface IWarningRecordService extends IService<WarningRecordEntity> {

    void warningRecordToCache(List<ConsumerRecord<?, ?>> records);

    void cacheToMySql();
}
