second version. data with kafka and position with zookeeper, add batchid and in batchid to prevent repeat