public class LocalRunner extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
LocalRunner.FunctionConfigConverter |
static class |
LocalRunner.RuntimeConverter |
static class |
LocalRunner.RuntimeEnv |
static class |
LocalRunner.SinkConfigConverter |
static class |
LocalRunner.SourceConfigConverter |
| Modifier and Type | Field and Description |
|---|---|
protected String |
brokerServiceUrl |
protected String |
clientAuthParams |
protected String |
clientAuthPlugin |
protected boolean |
exitOnError |
protected org.apache.pulsar.common.functions.FunctionConfig |
functionConfig |
protected int |
instanceIdOffset |
protected Integer |
metricsPortStart |
protected LocalRunner.RuntimeEnv |
runtimeEnv |
protected String |
secretsProviderClassName |
protected String |
secretsProviderConfig |
protected org.apache.pulsar.common.io.SinkConfig |
sinkConfig |
protected org.apache.pulsar.common.io.SourceConfig |
sourceConfig |
protected String |
stateStorageImplClass |
protected String |
stateStorageServiceUrl |
protected boolean |
tlsAllowInsecureConnection |
protected boolean |
tlsHostNameVerificationEnabled |
protected String |
tlsTrustCertFilePath |
protected boolean |
useTls |
protected String |
webServiceUrl |
| Constructor and Description |
|---|
LocalRunner(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
org.apache.pulsar.common.io.SourceConfig sourceConfig,
org.apache.pulsar.common.io.SinkConfig sinkConfig,
String stateStorageImplClass,
String stateStorageServiceUrl,
String brokerServiceUrl,
String clientAuthPlugin,
String clientAuthParams,
boolean useTls,
boolean tlsAllowInsecureConnection,
boolean tlsHostNameVerificationEnabled,
String tlsTrustCertFilePath,
int instanceIdOffset,
LocalRunner.RuntimeEnv runtimeEnv,
String secretsProviderClassName,
String secretsProviderConfig,
String narExtractionDirectory,
String connectorsDirectory,
Integer metricsPortStart,
boolean exitOnError) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
main(String[] args) |
void |
start(boolean blocking) |
void |
stop() |
protected org.apache.pulsar.common.functions.FunctionConfig functionConfig
protected org.apache.pulsar.common.io.SourceConfig sourceConfig
protected org.apache.pulsar.common.io.SinkConfig sinkConfig
protected String stateStorageImplClass
protected String stateStorageServiceUrl
protected String brokerServiceUrl
protected String webServiceUrl
protected String clientAuthPlugin
protected String clientAuthParams
protected boolean useTls
protected boolean tlsAllowInsecureConnection
protected boolean tlsHostNameVerificationEnabled
protected String tlsTrustCertFilePath
protected int instanceIdOffset
protected LocalRunner.RuntimeEnv runtimeEnv
protected String secretsProviderClassName
protected String secretsProviderConfig
protected Integer metricsPortStart
protected boolean exitOnError
public LocalRunner(org.apache.pulsar.common.functions.FunctionConfig functionConfig,
org.apache.pulsar.common.io.SourceConfig sourceConfig,
org.apache.pulsar.common.io.SinkConfig sinkConfig,
String stateStorageImplClass,
String stateStorageServiceUrl,
String brokerServiceUrl,
String clientAuthPlugin,
String clientAuthParams,
boolean useTls,
boolean tlsAllowInsecureConnection,
boolean tlsHostNameVerificationEnabled,
String tlsTrustCertFilePath,
int instanceIdOffset,
LocalRunner.RuntimeEnv runtimeEnv,
String secretsProviderClassName,
String secretsProviderConfig,
String narExtractionDirectory,
String connectorsDirectory,
Integer metricsPortStart,
boolean exitOnError)
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic void stop()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.