copyright | lastupdated | ||
---|---|---|---|
|
2017-02-27 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #rest_how}
{: notoc}
{: notoc}
{: #rest_sample notoc}
The {{site.data.keyword.messagehub}} Kafka REST API sample is a Node.js application, which connects to {{site.data.keyword.messagehub}} over the Kafka REST API to produce and consume messages.
The sample code is in the message-hub-samples github project {:new_window}.
Follow the instructions in the README.md {:new_window} file for that project to build and run the sample.