add support for configuring partitioner