初始化Bookeeper Client
1 |
|
创建ledger
1 | LedgerHandle longmaoHandler = createLedgerSync(bkClient, "longmaoHandler"); |
向Ledger写入数据
1 | //添加数据 |
读取数据
1 | //读取数据 |
龙猫,你怎么可以这么懒!!!!!
1 |
|
1 | LedgerHandle longmaoHandler = createLedgerSync(bkClient, "longmaoHandler"); |
1 | //添加数据 |
1 | //读取数据 |