add rest consumer