REST API to publish messages to Kakfa