Configuring ACL for kafka topic
<p>I have a unsecured kafka instance with 2 brokers everything was running fine until I decided to configure ACL for topics, after ACL configuration my consumers stopped polling data from Kafka and I keep getting warning <strong>Error while fetching metadata with correlation id</strong> , my broker properties looks like below:-</p>

<pre><code>listeners=PLAINTEXT://localhost:9092
advertised.listeners=PLAINTEXT://localhost:9092
authorizer.class.name=kafka.security.auth.SimpleAclAuthorizer
allow.everyone.if.no.acl.found=true
</code></pre>

<p>And my client configuration looks like below:-</p>

<pre><code>bootstrap.servers=localhost:9092
topic.name=topic-name
group.id=topic-group
</code></pre>

<p>I've used below command to configure ACL</p>

<pre><code>bin\windows\kafka-acls.bat  --authorizer-properties zookeeper.connect=localhost:2181 --add --allow-principal User:* Read --allow-host localhost  --consumer --topic topic-name --group topic-group
</code></pre>

<p>After having all above configuration when I start consumer it stopped receiving messages. Can someone point where I'm mistaking. Thanks in advance.</p>