package com.neverwinterdp.scribengin.storage.kafka;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.neverwinterdp.kafka.tool.server.KafkaCluster;
public class KafkaConsumeTransactionUnitTest {
static {
System.setProperty("log4j.configuration", "file:src/test/resources/test-log4j.properties");
}
private KafkaCluster cluster;
@Before
public void setUp() throws Exception {
cluster = new KafkaCluster("./build/cluster", 1, 1);
cluster.start();
Thread.sleep(2000);
}
@After
public void tearDown() throws Exception {
cluster.shutdown();
}
@Test
public void testCommit() throws Exception {
}
}