Package org.apache.fluss.kafka
Class KafkaChannelInitializer
- java.lang.Object
-
- org.apache.fluss.shaded.netty4.io.netty.channel.ChannelHandlerAdapter
-
- org.apache.fluss.shaded.netty4.io.netty.channel.ChannelInboundHandlerAdapter
-
- org.apache.fluss.shaded.netty4.io.netty.channel.ChannelInitializer<org.apache.fluss.shaded.netty4.io.netty.channel.socket.SocketChannel>
-
- org.apache.fluss.rpc.netty.NettyChannelInitializer
-
- org.apache.fluss.kafka.KafkaChannelInitializer
-
- All Implemented Interfaces:
org.apache.fluss.shaded.netty4.io.netty.channel.ChannelHandler,org.apache.fluss.shaded.netty4.io.netty.channel.ChannelInboundHandler
public class KafkaChannelInitializer extends org.apache.fluss.rpc.netty.NettyChannelInitializerAChannelInitializerfor initializingSocketChannelinstances that will be used by the server to handle the Kafka requests for the client.
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_FRAME_LENGTH
-
Constructor Summary
Constructors Constructor Description KafkaChannelInitializer(org.apache.fluss.rpc.netty.server.RequestChannel[] requestChannels, long maxIdleTimeSeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitChannel(org.apache.fluss.shaded.netty4.io.netty.channel.socket.SocketChannel ch)-
Methods inherited from class org.apache.fluss.rpc.netty.NettyChannelInitializer
addFrameDecoder, addIdleStateHandler
-
Methods inherited from class org.apache.fluss.shaded.netty4.io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
-
Methods inherited from class org.apache.fluss.shaded.netty4.io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
-
-
-
-
Field Detail
-
MAX_FRAME_LENGTH
public static final int MAX_FRAME_LENGTH
- See Also:
- Constant Field Values
-
-