PartitionTextFileWriter<Message<?>> writer =
new PartitionTextFileWriter<Message<?>>(getConfiguration(), testDefaultPath, null, strategy);
writer.setFileNamingStrategyFactory(new RollingFileNamingStrategy());
writer.setRolloverStrategyFactory(new SizeRolloverStrategy(40));
for (String data : DATA09ARRAY) {
Map<String, Object> headers = new HashMap<String, Object>();
headers.put("region", "foo");
Message<String> message = MessageBuilder.withPayload(data).copyHeaders(headers).build();