// testing deprecated API
@Test
public void testThreeParamDeprecatedAppend() throws FlumeException,
EventDeliveryException {
RpcClient client = null;
Server server = RpcTestUtils.startServer(new OKAvroHandler());
try {
client = RpcClientFactory.getInstance(localhost, server.getPort(), 3);
Assert.assertEquals("Batch size was specified", 3, client.getBatchSize());
client.append(EventBuilder.withBody("wheee!!!", Charset.forName("UTF8")));
} finally {