KafkaChannel buildChannel(
String id,
SelectionKey key,
int maxReceiveSize,
MemoryPool memoryPool)
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.
Method | Description |
---|---|
|
Used when |
ChannelBuilder | Description |
---|---|
PlaintextChannelBuilder |
|