added example for zmq pipeline pattern