Skip to content

Commit

Permalink
fix: remove deprecated Acl API (#4373)
Browse files Browse the repository at this point in the history
  • Loading branch information
spena authored and agavra committed Jan 23, 2020
1 parent 0edfd24 commit a2b69f7
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -66,7 +66,6 @@
import java.util.concurrent.atomic.AtomicInteger;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import kafka.security.auth.Acl;
import kafka.zookeeper.ZooKeeperClientException;
import org.apache.kafka.clients.admin.Admin;
import org.apache.kafka.clients.admin.AdminClient;
Expand Down Expand Up @@ -161,11 +160,11 @@ public void shouldRunQueryAgainstKafkaClusterOverSsl() throws Exception {
ops(DESCRIBE_CONFIGS, CREATE));

givenAllowAcl(ALL_USERS,
resource(TOPIC, Acl.WildCardResource()),
resource(TOPIC, ResourcePattern.WILDCARD_RESOURCE),
ops(DESCRIBE, READ, WRITE, DELETE));

givenAllowAcl(ALL_USERS,
resource(GROUP, Acl.WildCardResource()),
resource(GROUP, ResourcePattern.WILDCARD_RESOURCE),
ops(DESCRIBE, READ));

final Map<String, Object> configs = getBaseKsqlConfig();
Expand Down

0 comments on commit a2b69f7

Please sign in to comment.