Class NioEchoServer

java.lang.Object
java.lang.Thread
org.apache.kafka.common.network.NioEchoServer
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
NettyNioEchoServer

public class NioEchoServer extends Thread
Non-blocking EchoServer implementation that uses ChannelBuilder to create channels with the configured security protocol.
  • Constructor Details

    • NioEchoServer

      public NioEchoServer(org.apache.kafka.common.network.ListenerName listenerName, org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol, org.apache.kafka.common.config.AbstractConfig config, String serverHost, org.apache.kafka.common.network.ChannelBuilder channelBuilder, org.apache.kafka.common.security.authenticator.CredentialCache credentialCache, org.apache.kafka.common.utils.Time time) throws Exception
      Throws:
      Exception
    • NioEchoServer

      public NioEchoServer(org.apache.kafka.common.network.ListenerName listenerName, org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol, org.apache.kafka.common.config.AbstractConfig config, String serverHost, org.apache.kafka.common.network.ChannelBuilder channelBuilder, org.apache.kafka.common.security.authenticator.CredentialCache credentialCache, int failedAuthenticationDelayMs, org.apache.kafka.common.utils.Time time) throws Exception
      Throws:
      Exception
    • NioEchoServer

      public NioEchoServer(org.apache.kafka.common.network.ListenerName listenerName, org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol, org.apache.kafka.common.config.AbstractConfig config, String serverHost, org.apache.kafka.common.network.ChannelBuilder channelBuilder, org.apache.kafka.common.security.authenticator.CredentialCache credentialCache, org.apache.kafka.common.utils.Time time, Optional<org.apache.kafka.server.audit.AuditLogProvider> auditLogProvider) throws Exception
      Throws:
      Exception
    • NioEchoServer

      public NioEchoServer(org.apache.kafka.common.network.ListenerName listenerName, org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol, org.apache.kafka.common.config.AbstractConfig config, String serverHost, org.apache.kafka.common.network.ChannelBuilder channelBuilder, org.apache.kafka.common.security.authenticator.CredentialCache credentialCache, int failedAuthenticationDelayMs, org.apache.kafka.common.utils.Time time, org.apache.kafka.common.security.token.delegation.internals.DelegationTokenCache tokenCache, Optional<org.apache.kafka.server.audit.AuditLogProvider> auditLogProvider, org.apache.kafka.common.network.ProxyProtocolEngineFactory proxyProtocolEngineFactory) throws Exception
      Throws:
      Exception
  • Method Details