Package org.apache.pulsar.admin.cli
Class CmdSources.LocalSourceRunner
java.lang.Object
org.apache.pulsar.admin.cli.CliCommand
org.apache.pulsar.admin.cli.CmdSources.CreateSource
org.apache.pulsar.admin.cli.CmdSources.LocalSourceRunner
- Enclosing class:
- CmdSources
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Doubleprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Integerprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Stringprotected org.apache.pulsar.common.io.SourceConfigprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected Stringprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.pulsar.common.io.BatchSourceConfigparseConfigs(String str) voidrunCmd()protected voidvalidateBatchSourceConfigs(org.apache.pulsar.common.io.BatchSourceConfig batchSourceConfig) protected voidvalidateSourceConfigs(org.apache.pulsar.common.io.SourceConfig sourceConfig) protected StringvalidateSourceType(String sourceType)
-
Field Details
-
stateStorageServiceUrl
-
deprecatedBrokerServiceUrl
-
brokerServiceUrl
-
deprecatedClientAuthPlugin
-
clientAuthPlugin
-
deprecatedClientAuthParams
-
clientAuthParams
-
deprecatedUseTls
-
useTls
protected boolean useTls -
deprecatedTlsAllowInsecureConnection
-
tlsAllowInsecureConnection
protected boolean tlsAllowInsecureConnection -
deprecatedTlsHostNameVerificationEnabled
-
tlsHostNameVerificationEnabled
protected boolean tlsHostNameVerificationEnabled -
deprecatedTlsTrustCertFilePath
-
tlsTrustCertFilePath
-
secretsProviderClassName
-
secretsProviderConfig
-
metricsPortStart
-
tenant
-
namespace
-
name
-
sourceType
-
deprecatedProcessingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees deprecatedProcessingGuarantees -
processingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees processingGuarantees -
deprecatedDestinationTopicName
-
destinationTopicName
-
producerConfig
-
batchBuilder
-
deprecatedDeserializationClassName
-
deserializationClassName
-
schemaType
-
parallelism
-
archive
-
deprecatedClassName
-
className
-
deprecatedSourceConfigFile
-
sourceConfigFile
-
cpu
-
ram
-
disk
-
deprecatedSourceConfigString
-
sourceConfigString
-
batchSourceConfigString
-
customRuntimeOptions
-
secretsString
-
sourceConfig
protected org.apache.pulsar.common.io.SourceConfig sourceConfig
-
-
Constructor Details
-
LocalSourceRunner
protected LocalSourceRunner()
-
-
Method Details
-
runCmd
- Throws:
Exception
-
validateSourceType
-
parseConfigs
protected Map<String,Object> parseConfigs(String str) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
parseBatchSourceConfigs
-
validateSourceConfigs
protected void validateSourceConfigs(org.apache.pulsar.common.io.SourceConfig sourceConfig) -
validateBatchSourceConfigs
protected void validateBatchSourceConfigs(org.apache.pulsar.common.io.BatchSourceConfig batchSourceConfig)
-