Interface NetworkClientCreator
- All Known Implementing Classes:
DefaultNetworkClientCreator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@DefaultImplementation(DefaultNetworkClientCreator.class)
public interface NetworkClientCreator
FunctionalInterface
to instantiate a NetworkClient
.- Since:
- 5.1.0
-
Method Summary
Modifier and TypeMethodDescription@NonNull org.apache.kafka.clients.NetworkClient
create
(@NonNull ClusterResourceListener... listeners)
-
Method Details
-
create
@NonNull @NonNull org.apache.kafka.clients.NetworkClient create(@NonNull @NonNull ClusterResourceListener... listeners) - Parameters:
listeners
- Cluster Resource Listeners- Returns:
- A Kafka Network Client
-