GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/541
Pass the correct principal to `RequestChannel.Session`
Also change `Authorizer` to use `Principal` instead of `KafkaPrincipal`
since this is what `KafkaChannel` returns. The other option would be
to change `KafkaChannel` to return `KafkaPrincipal`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
kafka-2849-pass-kafka-channel-principal-to-request-channel-session
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/541.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #541
----
commit 379c6990293b624f3d1a92f1a836588085e67b93
Author: Ismael Juma <[email protected]>
Date: 2015-11-17T11:09:11Z
Pass the correct principal to `RequestChannel.Session`
Also change `Authorizer` to use `Principal` instead of `KafkaPrincipal`
since this is what `KafkaChannel` returns. The other option is to
change `KafkaChannel` to return `KafkaPrincipal`.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---