kafkaServer.produce(topicName, "", "hello, world");
kafkaServer.produce(topicName, "", "foo, bar");
Thread.sleep(500L);
Status status = kafkaSource.process();
assertEquals(Status.READY, status);
Assert.assertEquals("hello, world", new String(events.get(0).getBody(),
Charsets.UTF_8));
Assert.assertEquals("foo, bar", new String(events.get(1).getBody(),
Charsets.UTF_8));