added customizable support for partitioning, sorting and grouping on AvroKey keys