Package org.apache.kafka.test
package org.apache.kafka.test
-
ClassDescriptionUsed by MockSelector to allow clients to add responses whose associated requests are added later.SCRAM validation callback handler for brokers that stores credentials in a file instead of ZooKeeper.GlobalLeakedThreads is a utility class that manages a global set of leaked thread IDs.Enumeration of HTTP/2 modes for testing purposes.A fake selector to use for testingThis class can be used in the callback given to
TestUtils.retryOnExceptionWithTimeout(long, long, ValuelessCallable)to indicate that a particular exception should not be retried.Interface to wrap actions that are required to wait until a condition is met for testing purposes.Helper functions for writing unit testsThreadLeakListener is a TestExecutionListener that checks for thread leaks after test execution.