Class TestNettyClient

java.lang.Object
org.apache.kafka.common.network.netty.TestNettyClient

public class TestNettyClient extends Object
A simple Netty client for testing purposes. It can connect to either UDS or TCP server, send messages, and receive responses. The client uses a configurable EventLoopGroup and ChannelHandler. Subclasses can override the channelOptions() method to provide custom channel options.
  • Constructor Details

    • TestNettyClient

      public TestNettyClient()
    • TestNettyClient

      public TestNettyClient(io.netty.channel.EventLoopGroup group)
    • TestNettyClient

      public TestNettyClient(io.netty.channel.ChannelHandler channelHandler)
    • TestNettyClient

      public TestNettyClient(io.netty.channel.EventLoopGroup group, io.netty.channel.ChannelHandler channelHandler)
  • Method Details