use of io.confluent.ksql.util.OrderDataProvider in project ksql by confluentinc.
the class WindowingIntTest method before.
@Before
public void before() throws Exception {
testHarness = new IntegrationTestHarness();
testHarness.start();
ksqlContext = KsqlContext.create(testHarness.ksqlConfig);
testHarness.createTopic(topicName);
/**
* Setup test data - align to the next time unit to support tumbling window alignment
*/
alignTimeToWindowSize(WINDOW_SIZE_SEC);
now = System.currentTimeMillis() + 500;
testHarness.createTopic("ORDERS");
dataProvider = new OrderDataProvider();
datasetOneMetaData = testHarness.publishTestData(topicName, dataProvider, now - 500);
createOrdersStream();
}
Aggregations