Skip to content

Commit eb781c1

Browse files
Update rest-proxy.md
1 parent 23e839f commit eb781c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/hdinsight/kafka/rest-proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For REST proxy endpoint requests, client applications should get an OAuth token.
6969
You can use the python code below to interact with the REST proxy on your Kafka cluster. To use the code sample, follow these steps:
7070

7171
1. Save the sample code on a machine with Python installed.
72-
1. Install required python dependencies by executing `pip3 install adal` and `pip install msrestazure`.
72+
1. Install required python dependencies by executing `pip3 install msal`.
7373
1. Modify the code section **Configure these properties** and update the following properties for your environment:
7474

7575
|Property |Description |
@@ -79,7 +79,7 @@ You can use the python code below to interact with the REST proxy on your Kafka
7979
|Client Secret|The secret for the application that you registered in the security group.|
8080
|Kafkarest_endpoint|Get this value from the **Properties** tab in the cluster overview as described in the [deployment section](#create-a-kafka-cluster-with-rest-proxy-enabled). It should be in the following format – `https://<clustername>-kafkarest.azurehdinsight.net`|
8181

82-
1. From the command line, execute the python file by executing `python <filename.py>`
82+
1. From the command line, execute the python file by executing `sudo python3 <filename.py>`
8383

8484
This code does the following action:
8585

0 commit comments

Comments
 (0)