}
@Override
public PartitionKey deserialize(byte[] keyBytes) {
ByteArrayInputStream inputStream = new ByteArrayInputStream(keyBytes);
Decoder decoder = new MemcmpDecoder(inputStream);
DatumReader<GenericRecord> datumReader = new GenericDatumReader<GenericRecord>(
schema);
GenericRecord genericRecord = AvroUtils
.readAvroEntity(decoder, datumReader);