class PartitionAssignorAdapter implements ConsumerPartitionAssignor {

    @Override
    public GroupAssignment assign(Cluster metadata, GroupSubscription groupSubscription) {
        return toNewGroupAssignment(oldAssignor.assign(metadata, toOldGroupSubscription(groupSubscription)));
    }

      PartitionAssignorAdapter(PartitionAssignor oldAssignor);

}