You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2017/04/11 10:29:29 UTC

kafka git commit: MINOR: Fix typo in consumer ACL example

Repository: kafka
Updated Branches:
  refs/heads/trunk 7c58351e9 -> d2f5589af


MINOR: Fix typo in consumer ACL example

Author: sunnykrgupta <su...@gmail.com>

Reviewers: Manikumar Reddy <ma...@gmail.com>, Ismael Juma <is...@juma.me.uk>

Closes #2839 from sunnykrGupta/trunk


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/d2f5589a
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/d2f5589a
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/d2f5589a

Branch: refs/heads/trunk
Commit: d2f5589afc4505c2e2c11e125ad1be69eb9fe645
Parents: 7c58351
Author: sunnykrgupta <su...@gmail.com>
Authored: Tue Apr 11 11:28:51 2017 +0100
Committer: Ismael Juma <is...@juma.me.uk>
Committed: Tue Apr 11 11:28:58 2017 +0100

----------------------------------------------------------------------
 docs/security.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/d2f5589a/docs/security.html
----------------------------------------------------------------------
diff --git a/docs/security.html b/docs/security.html
index 536009a..99f692a 100644
--- a/docs/security.html
+++ b/docs/security.html
@@ -809,7 +809,7 @@
                 The most common use case for acl management are adding/removing a principal as producer or consumer so we added convenience options to handle these cases. In order to add User:Bob as a producer of  Test-topic we can execute the following command:
             <pre> bin/kafka-acls.sh --authorizer-properties zookeeper.connect=localhost:2181 --add --allow-principal User:Bob --producer --topic Test-topic</pre>
                 Similarly to add Alice as a consumer of Test-topic with consumer group Group-1 we just have to pass --consumer option:
-            <pre> bin/kafka-acls.sh --authorizer-properties zookeeper.connect=localhost:2181 --add --allow-principal User:Bob --consumer --topic test-topic --group Group-1 </pre>
+            <pre> bin/kafka-acls.sh --authorizer-properties zookeeper.connect=localhost:2181 --add --allow-principal User:Bob --consumer --topic Test-topic --group Group-1 </pre>
                 Note that for consumer option we must also specify the consumer group.
                 In order to remove a principal from producer or consumer role we just need to pass --remove option. </li>
         </ul>