Class TestNettyHttp2Selector
java.lang.Object
org.apache.kafka.common.network.netty.NettyHttp2Selector
org.apache.kafka.common.network.netty.TestNettyHttp2Selector
- All Implemented Interfaces:
AutoCloseable, org.apache.kafka.common.network.Selectable
public class TestNettyHttp2Selector
extends org.apache.kafka.common.network.netty.NettyHttp2Selector
Test implementation of
NettyHttp2Selector that overrides the stream creation headers
to include a custom tenant ID and client information.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kafka.common.network.Selectable
org.apache.kafka.common.network.Selectable.Listener -
Field Summary
Fields inherited from interface org.apache.kafka.common.network.Selectable
NOOP_LISTENER, USE_DEFAULT_BUFFER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionTestNettyHttp2Selector(io.netty.channel.EventLoopGroup eventLoopGroup, long connectionMaxIdleMs, org.apache.kafka.common.utils.Time time, io.netty.handler.ssl.SslContext sslContext, org.apache.kafka.common.utils.internals.LogContext logContext) -
Method Summary
Methods inherited from class org.apache.kafka.common.network.netty.NettyHttp2Selector
addReverseStream, close, close, completedReceives, completedSends, connect, connected, disconnected, isChannelOpen, isChannelReady, mute, muteAll, poll, send, setListener, stream, streamsCount, unmute, unmuteAll, wakeupMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.common.network.Selectable
channelsWithCredential
-
Constructor Details
-
TestNettyHttp2Selector
public TestNettyHttp2Selector(io.netty.channel.EventLoopGroup eventLoopGroup, long connectionMaxIdleMs, org.apache.kafka.common.utils.Time time, io.netty.handler.ssl.SslContext sslContext, org.apache.kafka.common.utils.internals.LogContext logContext)
-