adding ability to configure both input and output zookeepers