copyright | lastupdated | ||
---|---|---|---|
|
2017-05-11 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #kafka_connect}
To connect to {{site.data.keyword.messagehub}}, the Kafka API uses the
credentials, and the
user
and
from the VCAP_SERVICES environment variable.
{: #kafka_notjava notoc}
The {{site.data.keyword.messagehub}} service currently authenticates clients by using SASL PLAIN. Credentials are carried over an encrypted connection. This is a new feature added in Kafka 0.10.0.X. Any client that supports Kafka 0.10 with SASL PLAIN should work with {{site.data.keyword.messagehub}}. Example clients are as follows:
- librdkafka
{:new_window}
- confluent-kafka-python
{:new_window}
If you are using the earlier Kafka 0.9.0.0 client, you need to use a custom login module, which you
can download from {{site.data.keyword.messagehub}} login module {:new_window}.