Package org.apache.pulsar.admin.cli
Class CmdSources.CreateSource
java.lang.Object
org.apache.pulsar.admin.cli.CliCommand
org.apache.pulsar.admin.cli.CmdSources.CreateSource
- Direct Known Subclasses:
CmdSources.LocalSourceRunner
- Enclosing class:
- CmdSources
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Doubleprotected Stringprotected Stringprotected Stringprotected Stringprotected FunctionConfig.ProcessingGuaranteesprotected Stringprotected Stringprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Integerprotected FunctionConfig.ProcessingGuaranteesprotected Stringprotected Longprotected Stringprotected Stringprotected SourceConfigprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BatchSourceConfigparseConfigs(String str) protected voidvalidateBatchSourceConfigs(BatchSourceConfig batchSourceConfig) protected voidvalidateSourceConfigs(SourceConfig sourceConfig) protected StringvalidateSourceType(String sourceType) Methods inherited from class org.apache.pulsar.admin.cli.CliCommand
isHelp
-
Field Details
-
tenant
-
namespace
-
name
-
sourceType
-
deprecatedProcessingGuarantees
-
processingGuarantees
-
deprecatedDestinationTopicName
-
destinationTopicName
-
producerConfig
-
batchBuilder
-
deprecatedDeserializationClassName
-
deserializationClassName
-
schemaType
-
parallelism
-
archive
-
deprecatedClassName
-
className
-
deprecatedSourceConfigFile
-
sourceConfigFile
-
cpu
-
ram
-
disk
-
deprecatedSourceConfigString
-
sourceConfigString
-
batchSourceConfigString
-
customRuntimeOptions
-
secretsString
-
sourceConfig
-
-
Constructor Details
-
CreateSource
protected CreateSource()
-
-
Method Details
-
parseConfigs
protected Map<String,Object> parseConfigs(String str) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
parseBatchSourceConfigs
-
validateSourceConfigs
-
validateBatchSourceConfigs
-
validateSourceType
- Throws:
IOException
-