Class KafkaConsumerContent

    • Constructor Detail

      • KafkaConsumerContent

        public KafkaConsumerContent()
      • KafkaConsumerContent

        public KafkaConsumerContent​(KafkaConsumerContent 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

      • getFormat

        public Long getFormat()
        Get 消费格式 0:全文;1:json
        Returns:
        Format 消费格式 0:全文;1:json
      • setFormat

        public void setFormat​(Long Format)
        Set 消费格式 0:全文;1:json
        Parameters:
        Format - 消费格式 0:全文;1:json
      • getEnableTag

        public Boolean getEnableTag()
        Get 是否投递 TAG 信息 Format为0时,此字段不需要赋值
        Returns:
        EnableTag 是否投递 TAG 信息 Format为0时,此字段不需要赋值
      • setEnableTag

        public void setEnableTag​(Boolean EnableTag)
        Set 是否投递 TAG 信息 Format为0时,此字段不需要赋值
        Parameters:
        EnableTag - 是否投递 TAG 信息 Format为0时,此字段不需要赋值
      • getMetaFields

        public String[] getMetaFields()
        Get 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
        Returns:
        MetaFields 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
      • setMetaFields

        public void setMetaFields​(String[] MetaFields)
        Set 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
        Parameters:
        MetaFields - 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
      • getTagTransaction

        public Long getTagTransaction()
        Get tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TagTransaction tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
      • setTagTransaction

        public void setTagTransaction​(Long TagTransaction)
        Set tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TagTransaction - tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
      • getJsonType

        public Long getJsonType()
        Get 消费数据Json格式: 1:不转义(默认格式) 2:转义
        Returns:
        JsonType 消费数据Json格式: 1:不转义(默认格式) 2:转义
      • setJsonType

        public void setJsonType​(Long JsonType)
        Set 消费数据Json格式: 1:不转义(默认格式) 2:转义
        Parameters:
        JsonType - 消费数据Json格式: 1:不转义(默认格式) 2:转义