[jira] [Commented] (KAFKA-8536) Error creating ACL Alter Topic in 2.2

2019-06-20 Thread Alvaro Peris (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-8536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16868337#comment-16868337
 ] 

Alvaro Peris commented on KAFKA-8536:
-

Hi @[Evelyn 
Bayes|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=EeveeB]

The error is minor, it affects the Kafka-acls.sh program, if we create the ACL 
with the Java API Kafka works correctly as indicated in the documentation.

kafka-acls.sh problem seems that it is already solved by omkreddy in the link 
that you sent.

Thanks :)

> Error creating ACL Alter Topic in 2.2
> -
>
> Key: KAFKA-8536
> URL: https://issues.apache.org/jira/browse/KAFKA-8536
> Project: Kafka
>  Issue Type: Bug
>  Components: security
>Affects Versions: 2.2.1
>Reporter: Alvaro Peris
>Priority: Critical
> Fix For: 2.2.2
>
>
> When we try to execute the statement to create an Alter Topic ACL in version 
> 2.2 of
> Kafka through the kafka-acls.
> """
> kafka-acls --authorizer-properties 
> zookeeper.connect=fastdata-zk-discovery:2181 \ 
>  --add \
>  --allow-principal User:MyUser \
>  --operation Alter \
>  --topic topic \
> """
> We get the following error: 
>  
> ResourceType TOPIC only supports operations
>  
> """
> Read,All,AlterConfigs,DescribeConfigs,Delete,Write,Create,Describe
> """
> It should be possible to create an Alter Topic ACL, according to the 
> documentation.
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KAFKA-8567) Application kafka-configs.sh can’t describe the confings of a topic

2019-06-19 Thread Alvaro Peris (JIRA)
Alvaro Peris created KAFKA-8567:
---

 Summary: Application kafka-configs.sh can’t describe the confings 
of a topic
 Key: KAFKA-8567
 URL: https://issues.apache.org/jira/browse/KAFKA-8567
 Project: Kafka
  Issue Type: Bug
  Components: clients, config
Affects Versions: 2.2.1
Reporter: Alvaro Peris


The CLI application kafka-configs.sh can’t describe the confings of a topic 
when we try to connect vía bootstrap-server using ACLs in the 2.2 version. This 
is posible by using the Java API.


 The problem may be in the ConfigCommand.scala object, maybe you have to adjust 
the following validation:
{quote} if (entityTypeVals.contains(ConfigType.Client) || 
entityTypeVals.contains(ConfigType.Topic) || 
entityTypeVals.contains(ConfigType.User))

    CommandLineUtils.checkRequiredArgs(parser, options, zkConnectOpt, 
entityType)
{quote}
Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KAFKA-8536) Error creating ACL Alter Topic in 2.2

2019-06-19 Thread Alvaro Peris (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-8536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867480#comment-16867480
 ] 

Alvaro Peris commented on KAFKA-8536:
-

Thanks [~EeveeB]  :) 

> Error creating ACL Alter Topic in 2.2
> -
>
> Key: KAFKA-8536
> URL: https://issues.apache.org/jira/browse/KAFKA-8536
> Project: Kafka
>  Issue Type: Bug
>  Components: security
>Affects Versions: 2.2.1
>Reporter: Alvaro Peris
>Priority: Critical
> Fix For: 2.2.2
>
>
> When we try to execute the statement to create an Alter Topic ACL in version 
> 2.2 of
> Kafka through the kafka-acls.
> """
> kafka-acls --authorizer-properties 
> zookeeper.connect=fastdata-zk-discovery:2181 \ 
>  --add \
>  --allow-principal User:MyUser \
>  --operation Alter \
>  --topic topic \
> """
> We get the following error: 
>  
> ResourceType TOPIC only supports operations
>  
> """
> Read,All,AlterConfigs,DescribeConfigs,Delete,Write,Create,Describe
> """
> It should be possible to create an Alter Topic ACL, according to the 
> documentation.
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KAFKA-8536) Error creating ACL Alter Topic in 2.2

2019-06-13 Thread Alvaro Peris (JIRA)
Alvaro Peris created KAFKA-8536:
---

 Summary: Error creating ACL Alter Topic in 2.2
 Key: KAFKA-8536
 URL: https://issues.apache.org/jira/browse/KAFKA-8536
 Project: Kafka
  Issue Type: Bug
  Components: security
Affects Versions: 2.2.1
Reporter: Alvaro Peris
 Fix For: 2.2.2


When we try to execute the statement to create an Alter Topic ACL in version 
2.2 of
Kafka through the kafka-acls.

"""

kafka-acls --authorizer-properties zookeeper.connect=fastdata-zk-discovery:2181 
\ 
 --add \
 --allow-principal User:MyUser \
 --operation Alter \
 --topic topic \

"""

We get the following error: 
 
ResourceType TOPIC only supports operations

 

"""

Read,All,AlterConfigs,DescribeConfigs,Delete,Write,Create,Describe

"""

It should be possible to create an Alter Topic ACL, according to the 
documentation.

Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)