I\'m using java to code and create a kafka consumer. I want to get that out put to java console. Also I want to use java REST API to send that output to localhost:8080. How can