support borker partition in producer