private String zkConnect(ClusterInstance cluster) {
        return ((ZkClusterInvocationContext.ZkClusterInstance) cluster).getUnderlying().zkConnect();
    }
Capture both the console output and console error during the execution of the provided function.
core/src/test/java/kafka/admin/AclCommandTest.java