Class JavaInstanceStarter
java.lang.Object
org.apache.pulsar.functions.runtime.JavaInstanceStarter
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionintintintintintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidstart(String[] args, ClassLoader functionInstanceClassLoader, ClassLoader rootClassLoader)
-
Field Details
-
functionDetailsJsonString
-
jarFile
-
transformFunctionJarFile
-
instanceId
public int instanceId -
functionId
-
functionVersion
-
pulsarServiceUrl
-
transformFunctionId
-
clientAuthenticationPlugin
-
clientAuthenticationParameters
-
useTls
-
tlsAllowInsecureConnection
-
tlsHostNameVerificationEnabled
-
tlsTrustCertFilePath
-
stateStorageImplClass
-
stateStorageServiceUrl
-
port
public int port -
metricsPort
public int metricsPort -
maxBufferedTuples
public int maxBufferedTuples -
expectedHealthCheckInterval
public int expectedHealthCheckInterval -
secretsProviderClassName
-
secretsProviderConfig
-
clusterName
-
narExtractionDirectory
-
maxPendingAsyncRequests
public int maxPendingAsyncRequests -
webServiceUrl
-
exposePulsarAdminClientEnabled
-
-
Constructor Details
-
JavaInstanceStarter
public JavaInstanceStarter()
-
-
Method Details
-
start
public void start(String[] args, ClassLoader functionInstanceClassLoader, ClassLoader rootClassLoader) throws Exception - Throws:
Exception
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-