Class RestClientFactory
java.lang.Object
org.apache.pulsar.io.elasticsearch.client.RestClientFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RestClient
createClient
(ElasticSearchConfig config, BulkProcessor.Listener bulkListener)
-
Constructor Details
-
RestClientFactory
public RestClientFactory()
-
-
Method Details
-
createClient
public static RestClient createClient(ElasticSearchConfig config, BulkProcessor.Listener bulkListener) throws IOException - Throws:
IOException
-