I have another question for you regarding this issue.
I said before it worked for the case all the users are super users.
In my case, I have two users with the names "kafka" and "kafka-client".
User "kafka" is running zookeeper and kafka server in secured mode with kerberos and user "kafka-client" is running only druid.
In kafka server properties file, if they are set as super users, the druid works as I said before.
But when kafka-client is removed from the super.users with and "allow.everyone.if.no.acl.found" is set to false, and then trying to give the permission to it with the following kafka console command
"bin/kafka-acls.sh --authorizer kafka.security.auth.SimpleAclAuthorizer --authorizer-properties zookeeper.connect=kafka1.myhostname.com:2181 --add --allow-principal User:kafka-client --operation Read --topic test-topic --group test-group"
after I add "group.id": "test-group" line to json file, I can not get it running. Error mesage I got in the overlord.log is as follows
ERROR [KafkaSupervisor-igwcdrv1-0] io.druid.indexing.kafka.supervisor.KafkaSupervisor - KafkaSupervisor[igwcdrv1] failed to handle notice:
{class=io.druid.indexing.kafka.supervisor.KafkaSupervisor, exceptionType=class org.apache.kafka.common.errors.GroupAuthorizationException, exceptionMessage=Not aut
horized to access group: kafka-supervisor-ebjnpajj, noticeClass=RunNotice}
org.apache.kafka.common.errors.GroupAuthorizationException: Not authorized to access group: kafka-supervisor-ebjnpajj
2016-12-08T10:04:45,033 INFO [KafkaSupervisor-igwcdrv1-0] com.metamx.emitter.core.LoggingEmitter - Event [{"feed":"alerts","timestamp":"2016-12-08T10:04:45.032Z","
service":"druid/overlord","host":"hamits:8090","severity":"component-failure","description":"KafkaSupervisor[igwcdrv1] failed to handle notice","data":{"class":"io
.druid.indexing.kafka.supervisor.KafkaSupervisor","exceptionType":"org.apache.kafka.common.errors.GroupAuthorizationException","exceptionMessage":"Not authorized to access group: kafka-supervisor-ebjnpajj","exceptionStackTrace":"org.apache.kafka.common.errors.GroupAuthorizationException: Not authorized to access group: kafka-supervisor-ebjnpajj\n","noticeClass":"RunNotice"}}]
It turns out that group name I enter in json is not passed to the system. It is "kafka-supervisor-ebjnpajj" that druid itself puts
I would like to stress out that I don't have any problem when running kafka console consumer instead of druid after typing the command given above for read permission
Do you have an idea about that?
Thanks in advance.
yours,
Hamit.