copyright | lastupdated | ||
---|---|---|---|
|
2018-05-25 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #rest_connect}
** The Kafka REST API is available as part of the Standard plan only.**
To connect to {{site.data.keyword.messagehub}}, the Kafka REST API uses the api_key
and kafka_rest_url
credentials from the VCAP_SERVICES environment variable.
To authenticate with the {{site.data.keyword.messagehub}} Kafka REST API, you must specify the api_key
in the X-Auth-Token header of your requests.