Package org.apache.pulsar.admin.cli
Class CmdSinks.CreateSink
java.lang.Object
org.apache.pulsar.admin.cli.CliCommand
org.apache.pulsar.admin.cli.CmdSinks.CreateSink
- Direct Known Subclasses:
CmdSinks.LocalSinkRunner
- Enclosing class:
CmdSinks
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pulsar.admin.cli.CliCommand
CliCommand.ParameterException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Doubleprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected FunctionConfig.ProcessingGuaranteesprotected Booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Longprotected Integerprotected FunctionConfig.ProcessingGuaranteesprotected Longprotected Booleanprotected Booleanprotected Stringprotected Stringprotected SinkConfigprotected Stringprotected Stringprotected Stringprotected Stringprotected org.apache.pulsar.client.api.SubscriptionInitialPositionprotected Stringprotected Longprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseConfigs(String str) protected voidvalidateSinkConfigs(SinkConfig sinkConfig) protected StringvalidateSinkType(String sinkType) Methods inherited from class org.apache.pulsar.admin.cli.CliCommand
call
-
Field Details
-
tenant
-
namespace
-
name
-
sinkType
-
cleanupSubscription
-
inputs
-
deprecatedTopicsPattern
-
topicsPattern
-
deprecatedSubsName
-
subsName
-
subsPosition
protected org.apache.pulsar.client.api.SubscriptionInitialPosition subsPosition -
deprecatedCustomSerdeInputString
-
customSerdeInputString
-
customSchemaInputString
-
inputSpecs
-
maxMessageRetries
-
deadLetterTopic
-
deprecatedProcessingGuarantees
-
processingGuarantees
-
deprecatedRetainOrdering
-
retainOrdering
-
parallelism
-
retainKeyOrdering
-
archive
-
deprecatedClassName
-
className
-
deprecatedSinkConfigFile
-
sinkConfigFile
-
cpu
-
ram
-
disk
-
deprecatedSinkConfigString
-
sinkConfigString
-
autoAck
-
timeoutMs
-
negativeAckRedeliveryDelayMs
-
customRuntimeOptions
-
secretsString
-
transformFunction
-
transformFunctionClassName
-
transformFunctionConfig
-
logTopic
-
runtimeFlags
-
sinkConfig
-
-
Constructor Details
-
CreateSink
protected CreateSink()
-
-
Method Details
-
parseConfigs
protected Map<String,Object> parseConfigs(String str) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
validateSinkConfigs
-
validateSinkType
- Throws:
IOException
-