Class CmdSinks.LocalSinkRunner

    • 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
    • Constructor Detail

      • LocalSinkRunner

        protected LocalSinkRunner()
    • 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)