[
https://issues.apache.org/jira/browse/METRON-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16319992#comment-16319992
]
ASF GitHub Bot commented on METRON-1282:
----------------------------------------
Github user MohanDV commented on the issue:
https://github.com/apache/metron/pull/891
Thanks @merrimanr for taking a look. Yes , I should have added the check
for kerberos.
Regarding moving this functionality to separate endpoint , I wanted to
address the breaking of other kafka controller rest endpoints due to adding new
topic.
How about having another pull request with broader scope to add / remove/
list ACL ?
> creating a new topic using the rest end point breaks the list topic API
> -----------------------------------------------------------------------
>
> Key: METRON-1282
> URL: https://issues.apache.org/jira/browse/METRON-1282
> Project: Metron
> Issue Type: Bug
> Reporter: Mohan
> Assignee: Mohan
>
> I created a topic "newtopic" using rest endpoint "/api/v1/kafka/topic". When
> I try to list all the topics using " /api/v1/kafka/topic" , I get below error
> {code:java}
> {
> "timestamp": "2017-10-25 17:33:32",
> "status": 500,
> "error": "Internal Server Error",
> "exception": "org.apache.kafka.common.errors.TopicAuthorizationException",
> "message": "Not authorized to access topics: [newtopic]",
> "path": "/api/v1/kafka/topic"
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)