Package org.apache.pulsar.admin.cli
Class CmdSinks.LocalSinkRunner
- java.lang.Object
-
- org.apache.pulsar.admin.cli.CmdSinks.CreateSink
-
- org.apache.pulsar.admin.cli.CmdSinks.LocalSinkRunner
-
- Enclosing class:
- CmdSinks
protected class CmdSinks.LocalSinkRunner extends CmdSinks.CreateSink
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringarchiveprotected java.lang.BooleanautoAckprotected java.lang.StringbrokerServiceUrlprotected java.lang.StringclassNameprotected java.lang.StringclientAuthParamsprotected java.lang.StringclientAuthPluginprotected java.lang.Doublecpuprotected java.lang.StringcustomRuntimeOptionsprotected java.lang.StringcustomSchemaInputStringprotected java.lang.StringcustomSerdeInputStringprotected java.lang.StringdeadLetterTopicprotected java.lang.StringdeprecatedBrokerServiceUrlprotected java.lang.StringdeprecatedClassNameprotected java.lang.StringdeprecatedClientAuthParamsprotected java.lang.StringdeprecatedClientAuthPluginprotected java.lang.StringdeprecatedCustomSerdeInputStringprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesdeprecatedProcessingGuaranteesprotected java.lang.BooleandeprecatedRetainOrderingprotected java.lang.StringdeprecatedSinkConfigFileprotected java.lang.StringdeprecatedSinkConfigStringprotected java.lang.StringdeprecatedSubsNameprotected java.lang.BooleandeprecatedTlsAllowInsecureConnectionprotected java.lang.BooleandeprecatedTlsHostNameVerificationEnabledprotected java.lang.StringdeprecatedTlsTrustCertFilePathprotected java.lang.StringdeprecatedTopicsPatternprotected java.lang.BooleandeprecatedUseTlsprotected java.lang.Longdiskprotected java.lang.Stringinputsprotected java.lang.StringinputSpecsprotected java.lang.IntegermaxMessageRetriesprotected java.lang.StringmetricsPortStartprotected java.lang.Stringnameprotected java.lang.Stringnamespaceprotected java.lang.LongnegativeAckRedeliveryDelayMsprotected java.lang.Integerparallelismprotected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuaranteesprocessingGuaranteesprotected java.lang.Longramprotected java.lang.BooleanretainKeyOrderingprotected java.lang.BooleanretainOrderingprotected java.lang.StringsecretsProviderClassNameprotected java.lang.StringsecretsProviderConfigprotected java.lang.StringsecretsStringprotected org.apache.pulsar.common.io.SinkConfigsinkConfigprotected java.lang.StringsinkConfigFileprotected java.lang.StringsinkConfigStringprotected java.lang.StringsinkTypeprotected java.lang.StringstateStorageServiceUrlprotected java.lang.StringsubsNameprotected org.apache.pulsar.client.api.SubscriptionInitialPositionsubsPositionprotected java.lang.Stringtenantprotected java.lang.LongtimeoutMsprotected booleantlsAllowInsecureConnectionprotected booleantlsHostNameVerificationEnabledprotected java.lang.StringtlsTrustCertFilePathprotected java.lang.StringtopicsPatternprotected booleanuseTls
-
Constructor Summary
Constructors Modifier Constructor Description protectedLocalSinkRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,java.lang.Object>parseConfigs(java.lang.String str)voidrunCmd()protected voidvalidateSinkConfigs(org.apache.pulsar.common.io.SinkConfig sinkConfig)protected java.lang.StringvalidateSinkType(java.lang.String sinkType)
-
-
-
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
-
sinkType
protected java.lang.String sinkType
-
inputs
protected java.lang.String inputs
-
deprecatedTopicsPattern
protected java.lang.String deprecatedTopicsPattern
-
topicsPattern
protected java.lang.String topicsPattern
-
deprecatedSubsName
protected java.lang.String deprecatedSubsName
-
subsName
protected java.lang.String subsName
-
subsPosition
protected org.apache.pulsar.client.api.SubscriptionInitialPosition subsPosition
-
deprecatedCustomSerdeInputString
protected java.lang.String deprecatedCustomSerdeInputString
-
customSerdeInputString
protected java.lang.String customSerdeInputString
-
customSchemaInputString
protected java.lang.String customSchemaInputString
-
inputSpecs
protected java.lang.String inputSpecs
-
maxMessageRetries
protected java.lang.Integer maxMessageRetries
-
deadLetterTopic
protected java.lang.String deadLetterTopic
-
deprecatedProcessingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees deprecatedProcessingGuarantees
-
processingGuarantees
protected org.apache.pulsar.common.functions.FunctionConfig.ProcessingGuarantees processingGuarantees
-
deprecatedRetainOrdering
protected java.lang.Boolean deprecatedRetainOrdering
-
retainOrdering
protected java.lang.Boolean retainOrdering
-
parallelism
protected java.lang.Integer parallelism
-
retainKeyOrdering
protected java.lang.Boolean retainKeyOrdering
-
archive
protected java.lang.String archive
-
deprecatedClassName
protected java.lang.String deprecatedClassName
-
className
protected java.lang.String className
-
deprecatedSinkConfigFile
protected java.lang.String deprecatedSinkConfigFile
-
sinkConfigFile
protected java.lang.String sinkConfigFile
-
cpu
protected java.lang.Double cpu
-
ram
protected java.lang.Long ram
-
disk
protected java.lang.Long disk
-
deprecatedSinkConfigString
protected java.lang.String deprecatedSinkConfigString
-
sinkConfigString
protected java.lang.String sinkConfigString
-
autoAck
protected java.lang.Boolean autoAck
-
timeoutMs
protected java.lang.Long timeoutMs
-
negativeAckRedeliveryDelayMs
protected java.lang.Long negativeAckRedeliveryDelayMs
-
customRuntimeOptions
protected java.lang.String customRuntimeOptions
-
secretsString
protected java.lang.String secretsString
-
sinkConfig
protected org.apache.pulsar.common.io.SinkConfig sinkConfig
-
-
Method Detail
-
runCmd
public void runCmd() throws java.lang.Exception- Throws:
java.lang.Exception
-
validateSinkType
protected java.lang.String validateSinkType(java.lang.String sinkType)
-
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
-
validateSinkConfigs
protected void validateSinkConfigs(org.apache.pulsar.common.io.SinkConfig sinkConfig)
-
-