ChannelBuilder

ChannelBuilder is the abstraction of channel builders that can build a KafkaChannel.

ChannelBuilder is a Configurable.

ChannelBuilder is a Java AutoCloseable.

ChannelBuilder is created using ChannelBuilders utility.

ChannelBuilder is used to create a Selector.

Table 1. ChannelBuilder Contract
Method Description

buildChannel

KafkaChannel buildChannel(
  String id,
  SelectionKey key,
  int maxReceiveSize,
  MemoryPool memoryPool)

Used when Selector is requested to buildAndAttachKafkaChannel

Table 2. ChannelBuilders
ChannelBuilder Description

PlaintextChannelBuilder

SaslChannelBuilder

SslChannelBuilder

results matching ""

    No results matching ""