Class TestNettyHttp2SelectablePlugin

java.lang.Object
org.apache.kafka.clients.NettyHttp2SelectablePlugin
org.apache.kafka.common.network.netty.TestNettyHttp2SelectablePlugin
All Implemented Interfaces:
org.apache.kafka.clients.SelectablePlugin

public class TestNettyHttp2SelectablePlugin extends org.apache.kafka.clients.NettyHttp2SelectablePlugin
A plugin for creating a TestNettyHttp2Selector that can handle HTTP/2 streams. This plugin is used in tests to simulate a Netty-based HTTP/2 selector for Kafka clients.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.kafka.common.network.Selectable
    newSelectable(org.apache.kafka.common.config.AbstractConfig config, org.apache.kafka.common.utils.Time time, org.apache.kafka.common.metrics.Metrics metrics, String metricGrpPrefix, org.apache.kafka.common.utils.internals.LogContext logContext)
     

    Methods inherited from class org.apache.kafka.clients.NettyHttp2SelectablePlugin

    eventLoopGroup, numThreads

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestNettyHttp2SelectablePlugin

      public TestNettyHttp2SelectablePlugin()
  • Method Details

    • newSelectable

      public org.apache.kafka.common.network.Selectable newSelectable(org.apache.kafka.common.config.AbstractConfig config, org.apache.kafka.common.utils.Time time, org.apache.kafka.common.metrics.Metrics metrics, String metricGrpPrefix, org.apache.kafka.common.utils.internals.LogContext logContext)
      Specified by:
      newSelectable in interface org.apache.kafka.clients.SelectablePlugin
      Overrides:
      newSelectable in class org.apache.kafka.clients.NettyHttp2SelectablePlugin