package com.elab.core.kafka.consumer;


import com.elab.core.kafka.config.KafkaConsumerConfig;
import com.elab.core.kafka.monitor.TestTopicMonitorRule;
import com.jay.monitor.data.client.config.ClientMonitorAutoConfiguration;
import com.jay.monitor.data.client.config.KafkaMonitorAutoConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Module TODO
 * @Description TODO
 * @Author liukaixiong
 * @Date 2020/10/27 16:21
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {TestTopicMonitorRule.class, KafkaConsumerConfig.class, ConsumerListener.class, KafkaMonitorAutoConfiguration.class, ClientMonitorAutoConfiguration.class})
public class AbstractKafkaConsumerTest {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Test
    public void test() throws Exception {
        System.in.read();
    }

}