merrimanr commented on a change in pull request #1490: METRON-2169: Upgrade to Kafka 2.0.0 and Storm 1.2.1 URL: https://github.com/apache/metron/pull/1490#discussion_r317235723
########## File path: metron-interface/metron-rest/src/test/java/org/apache/metron/rest/config/TestConfig.java ########## @@ -205,8 +218,10 @@ public RestTemplate restTemplate(StormCLIWrapper stormCLIClientWrapper) { } @Bean - public AdminUtils$ adminUtils() { - return AdminUtils$.MODULE$; + public AdminClient adminUtils(KafkaComponent kafkaWithZKComponent) { + Map<String, Object> adminConfig = new HashMap<>(); + adminConfig.put("bootstrap.servers", kafkaWithZKComponent.getBrokerList()); + return KafkaAdminClient.create(adminConfig); Review comment: Done ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services