class PartitionAssignorAdapter implements ConsumerPartitionAssignor {

    @Override
    public void onAssignment(Assignment assignment, ConsumerGroupMetadata metadata) {
        oldAssignor.onAssignment(toOldAssignment(assignment), metadata.generationId());
    }

      PartitionAssignorAdapter(PartitionAssignor oldAssignor);

}