Initial Java client example
Added the producer with a GET request to register