Class TopicParam

    • Constructor Summary

      Constructors 
      Constructor Description
      TopicParam()  
      TopicParam​(TopicParam source)
      NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Constructor Detail

      • TopicParam

        public TopicParam()
      • TopicParam

        public TopicParam​(TopicParam source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getResource

        public String getResource()
        Get 单独售卖Topic的Topic名称
        Returns:
        Resource 单独售卖Topic的Topic名称
      • setResource

        public void setResource​(String Resource)
        Set 单独售卖Topic的Topic名称
        Parameters:
        Resource - 单独售卖Topic的Topic名称
      • getOffsetType

        public String getOffsetType()
        Get Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        OffsetType Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
      • setOffsetType

        public void setOffsetType​(String OffsetType)
        Set Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        OffsetType - Offset类型,最开始位置earliest,最新位置latest,时间点位置timestamp 注意:此字段可能返回 null,表示取不到有效值。
      • getStartTime

        public Long getStartTime()
        Get Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        StartTime Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
      • setStartTime

        public void setStartTime​(Long StartTime)
        Set Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        StartTime - Offset类型为timestamp时必传,传时间戳,精确到秒 注意:此字段可能返回 null,表示取不到有效值。
      • getTopicId

        public String getTopicId()
        Get Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TopicId Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
      • setTopicId

        public void setTopicId​(String TopicId)
        Set Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TopicId - Topic的TopicId【出参】 注意:此字段可能返回 null,表示取不到有效值。
      • getCompressionType

        public String getCompressionType()
        Get 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        CompressionType 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
      • setCompressionType

        public void setCompressionType​(String CompressionType)
        Set 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        CompressionType - 写入Topic时是否进行压缩,不开启填"none",开启的话,可选择"gzip", "snappy", "lz4"中的一个进行填写。 注意:此字段可能返回 null,表示取不到有效值。
      • getUseAutoCreateTopic

        public Boolean getUseAutoCreateTopic()
        Get 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        UseAutoCreateTopic 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
      • setUseAutoCreateTopic

        public void setUseAutoCreateTopic​(Boolean UseAutoCreateTopic)
        Set 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        UseAutoCreateTopic - 使用的Topic是否需要自动创建(目前只支持SOURCE流入任务) 注意:此字段可能返回 null,表示取不到有效值。
      • getMsgMultiple

        public Long getMsgMultiple()
        Get 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        MsgMultiple 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。
      • setMsgMultiple

        public void setMsgMultiple​(Long MsgMultiple)
        Set 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        MsgMultiple - 源topic消息1条扩增成msgMultiple条写入目标topic(该参数目前只有ckafka流入ckafka适用) 注意:此字段可能返回 null,表示取不到有效值。