修改writeToBuffer，删除zookeeper和postgres