Package org.apache.pulsar.admin.cli
Class CmdSources.LocalSourceRunner
- java.lang.Object
-
- org.apache.pulsar.admin.cli.CmdSources.CreateSource
-
- org.apache.pulsar.admin.cli.CmdSources.LocalSourceRunner
-
- Enclosing class:
- CmdSources
protected class CmdSources.LocalSourceRunner extends CmdSources.CreateSource
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringarchiveprotected java.lang.StringbatchBuilderprotected java.lang.StringbatchSourceConfigStringprotected java.lang.StringbrokerServiceUrlprotected java.lang.StringclassNameprotected java.lang.StringclientAuthParamsprotected java.lang.StringclientAuthPluginprotected java.lang.Doublecpuprotected java.lang.StringcustomRuntimeOptionsprotected java.lang.StringdeprecatedBrokerServiceUrlprotected java.lang.StringdeprecatedClassNameprotected java.lang.StringdeprecatedClientAuthParamsprotected java.lang.StringdeprecatedClientAuthPluginprotected java.lang.StringdeprecatedDeserializationClassNameprotected java.lang.StringdeprecatedDestinationTopicNameprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesdeprecatedProcessingGuaranteesprotected java.lang.StringdeprecatedSourceConfigFileprotected java.lang.StringdeprecatedSourceConfigStringprotected java.lang.BooleandeprecatedTlsAllowInsecureConnectionprotected java.lang.BooleandeprecatedTlsHostNameVerificationEnabledprotected java.lang.StringdeprecatedTlsTrustCertFilePathprotected java.lang.BooleandeprecatedUseTlsprotected java.lang.StringdeserializationClassNameprotected java.lang.StringdestinationTopicNameprotected java.lang.Longdiskprotected java.lang.StringmetricsPortStartprotected java.lang.Stringnameprotected java.lang.Stringnamespaceprotected java.lang.Integerparallelismprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesprocessingGuaranteesprotected java.lang.StringproducerConfigprotected java.lang.Longramprotected java.lang.StringschemaTypeprotected java.lang.StringsecretsProviderClassNameprotected java.lang.StringsecretsProviderConfigprotected java.lang.StringsecretsStringprotected org.apache.pulsar.common.io.SourceConfigsourceConfigprotected java.lang.StringsourceConfigFileprotected java.lang.StringsourceConfigStringprotected java.lang.StringsourceTypeprotected java.lang.StringstateStorageServiceUrlprotected java.lang.Stringtenantprotected booleantlsAllowInsecureConnectionprotected booleantlsHostNameVerificationEnabledprotected java.lang.StringtlsTrustCertFilePathprotected booleanuseTls
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocalSourceRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.pulsar.common.io.BatchSourceConfigparseBatchSourceConfigs(java.lang.String str)protected java.util.Map<java.lang.String,java.lang.Object>parseConfigs(java.lang.String str)voidrunCmd()protected voidvalidateBatchSourceConfigs(org.apache.pulsar.common.io.BatchSourceConfig batchSourceConfig)protected voidvalidateSourceConfigs(org.apache.pulsar.common.io.SourceConfig sourceConfig)protected java.lang.StringvalidateSourceType(java.lang.String sourceType)
-
-
-
Field Detail
-
stateStorageServiceUrl
protected java.lang.String stateStorageServiceUrl
-
deprecatedBrokerServiceUrl
protected java.lang.String deprecatedBrokerServiceUrl
-
brokerServiceUrl
protected java.lang.String brokerServiceUrl
-
deprecatedClientAuthPlugin
protected java.lang.String deprecatedClientAuthPlugin
-
clientAuthPlugin
protected java.lang.String clientAuthPlugin
-
deprecatedClientAuthParams
protected java.lang.String deprecatedClientAuthParams
-
clientAuthParams
protected java.lang.String clientAuthParams
-
deprecatedUseTls
protected java.lang.Boolean deprecatedUseTls
-
useTls
protected boolean useTls
-
deprecatedTlsAllowInsecureConnection
protected java.lang.Boolean deprecatedTlsAllowInsecureConnection
-
tlsAllowInsecureConnection
protected boolean tlsAllowInsecureConnection
-
deprecatedTlsHostNameVerificationEnabled
protected java.lang.Boolean deprecatedTlsHostNameVerificationEnabled
-
tlsHostNameVerificationEnabled
protected boolean tlsHostNameVerificationEnabled
-
deprecatedTlsTrustCertFilePath
protected java.lang.String deprecatedTlsTrustCertFilePath
-
tlsTrustCertFilePath
protected java.lang.String tlsTrustCertFilePath
-
secretsProviderClassName
protected java.lang.String secretsProviderClassName
-
secretsProviderConfig
protected java.lang.String secretsProviderConfig
-
metricsPortStart
protected java.lang.String metricsPortStart
-
tenant
protected java.lang.String tenant
-
namespace
protected java.lang.String namespace
-
name
protected java.lang.String name
-
sourceType
protected java.lang.String sourceType
-
deprecatedProcessingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees deprecatedProcessingGuarantees
-
processingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees processingGuarantees
-
deprecatedDestinationTopicName
protected java.lang.String deprecatedDestinationTopicName
-
destinationTopicName
protected java.lang.String destinationTopicName
-
producerConfig
protected java.lang.String producerConfig
-
batchBuilder
protected java.lang.String batchBuilder
-
deprecatedDeserializationClassName
protected java.lang.String deprecatedDeserializationClassName
-
deserializationClassName
protected java.lang.String deserializationClassName
-
schemaType
protected java.lang.String schemaType
-
parallelism
protected java.lang.Integer parallelism
-
archive
protected java.lang.String archive
-
deprecatedClassName
protected java.lang.String deprecatedClassName
-
className
protected java.lang.String className
-
deprecatedSourceConfigFile
protected java.lang.String deprecatedSourceConfigFile
-
sourceConfigFile
protected java.lang.String sourceConfigFile
-
cpu
protected java.lang.Double cpu
-
ram
protected java.lang.Long ram
-
disk
protected java.lang.Long disk
-
deprecatedSourceConfigString
protected java.lang.String deprecatedSourceConfigString
-
sourceConfigString
protected java.lang.String sourceConfigString
-
batchSourceConfigString
protected java.lang.String batchSourceConfigString
-
customRuntimeOptions
protected java.lang.String customRuntimeOptions
-
secretsString
protected java.lang.String secretsString
-
sourceConfig
protected org.apache.pulsar.common.io.SourceConfig sourceConfig
-
-
Method Detail
-
runCmd
public void runCmd() throws java.lang.Exception- Throws:
java.lang.Exception
-
validateSourceType
protected java.lang.String validateSourceType(java.lang.String sourceType)
-
parseConfigs
protected java.util.Map<java.lang.String,java.lang.Object> parseConfigs(java.lang.String str) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
parseBatchSourceConfigs
protected org.apache.pulsar.common.io.BatchSourceConfig parseBatchSourceConfigs(java.lang.String str)
-
validateSourceConfigs
protected void validateSourceConfigs(org.apache.pulsar.common.io.SourceConfig sourceConfig)
-
validateBatchSourceConfigs
protected void validateBatchSourceConfigs(org.apache.pulsar.common.io.BatchSourceConfig batchSourceConfig)
-
-