String zkservers = cmd.getOptionValue("zkservers", "localhost:2181");
int bkensemble = Integer.valueOf(cmd.getOptionValue("bkensemble", "3"));
int bkquorum = Integer.valueOf(cmd.getOptionValue("bkquorum", "2"));
int bkthrottle = Integer.valueOf(cmd.getOptionValue("bkthrottle", "10000"));
ClientConfiguration conf = new ClientConfiguration();
conf.setThrottleValue(bkthrottle);
conf.setZkServers(zkservers);
bkc = new BookKeeper(conf);
List<LedgerHandle> handles = new ArrayList<LedgerHandle>();
for (int i = 0; i < numFiles; i++) {
handles.add(bkc.createLedger(bkensemble, bkquorum, DigestType.CRC32, new byte[] {'a', 'b'}));