Class ProxyProtocolV2EngineTest.TestCustomParser

java.lang.Object
org.apache.kafka.common.network.ProxyProtocolV2EngineTest.TestCustomParser
All Implemented Interfaces:
org.apache.kafka.common.Configurable, org.apache.kafka.common.network.ProxyTlvParser
Enclosing class:
ProxyProtocolV2EngineTest

public static class ProxyProtocolV2EngineTest.TestCustomParser extends Object implements org.apache.kafka.common.network.ProxyTlvParser
  • Constructor Details

    • TestCustomParser

      public TestCustomParser()
  • Method Details

    • parse

      public Optional<org.apache.kafka.common.network.ProxyTlv> parse(org.slf4j.Logger log, int tlvType, byte[] bytes)
      Specified by:
      parse in interface org.apache.kafka.common.network.ProxyTlvParser
    • configure

      public void configure(Map<String,?> configs)
      Specified by:
      configure in interface org.apache.kafka.common.Configurable