divide the serviceGetter to be some inner functions in client and server and fixed the zookeeper buffer bug