add switch to chose proper classes when running integration with kafka-2.0.0
add switch to chose proper classes when running integration with kafka-2.0.0

pinterest/secor,HenryCaiHaiying/secor,HenryCaiHaiying/secor,pinterest/secor