rename partitionBuf to partitionKey