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 now use the publicly available 0.10.x Kafka clients. You are strongly encouraged to move from 0.9.x to the latest 0.10.x version (currently 0.10.2.1). Complete the following steps:
-
Delete the {{site.data.keyword.messagehub}} login jar module.
-
Change your
jaas.conf
file 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