public class SecureThriftRpcClient extends ThriftRpcClient
Modifier and Type | Class and Description |
---|---|
static class |
SecureThriftRpcClient.UgiSaslClientTransport
This transport wraps the Sasl transports to set up the right UGI context for open().
|
BINARY_PROTOCOL, COMPACT_PROTOCOL, CONFIG_PROTOCOL
enableSsl, excludeCipherSuites, excludeProtocols, includeCipherSuites, includeProtocols, trustAllCerts, truststore, truststorePassword, truststoreType
batchSize, connectTimeout
Constructor and Description |
---|
SecureThriftRpcClient() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(Properties properties)
Configure the client using the given properties object.
|
protected org.apache.thrift.transport.TTransport |
getTransport(org.apache.thrift.transport.TSocket tsocket) |
append, appendBatch, close, isActive
configureSSL
getBatchSize, parseBatchSize
protected void configure(Properties properties) throws FlumeException
AbstractRpcClient
configure
in class ThriftRpcClient
FlumeException
- if the client can not be configured using this
method, or if the client was already configured once.protected org.apache.thrift.transport.TTransport getTransport(org.apache.thrift.transport.TSocket tsocket) throws Exception
getTransport
in class ThriftRpcClient
Exception
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.