| copyright |
|
||
|---|---|---|---|
| lastupdated | 2017-05-11 |
{:new_window: target="_blank"} {:shortdesc: .shortdesc} {:screen: .screen} {:codeblock: .codeblock} {:pre: .pre}
{: #kafka_migrate}
If you're using the Java clients, you can use the publicly available 0.10.X or 0.11.X Kafka clients. You are strongly encouraged to move from 0.9.X to the latest 0.10.X or 0.11.X version (we support all newer versions). Complete the following steps:
-
Delete the {{site.data.keyword.messagehub}} login jar module.
-
Change your
jaas.conffile to the following:KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required serviceName="kafka" username="<your username>" password="<your password>"; };{: codeblock}
-
Add this line to your consumer and producer properties:
sasl.mechanism=PLAIN