@Override
public ThriftClientProvider get() {
// configure the client provider
String provider = cConf.get(TxConstants.Service.CFG_DATA_TX_CLIENT_PROVIDER,
TxConstants.Service.DEFAULT_DATA_TX_CLIENT_PROVIDER);
ThriftClientProvider clientProvider;
if ("pool".equals(provider)) {
clientProvider = new PooledClientProvider(cConf, discoveryServiceClient);
} else if ("thread-local".equals(provider)) {
clientProvider = new ThreadLocalClientProvider(cConf, discoveryServiceClient);
} else {