Class CreateConsumerRequest

    • Constructor Detail

      • CreateConsumerRequest

        public CreateConsumerRequest()
      • CreateConsumerRequest

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

      • getTopicId

        public String getTopicId()
        Get 投递任务绑定的日志主题 ID
        Returns:
        TopicId 投递任务绑定的日志主题 ID
      • setTopicId

        public void setTopicId​(String TopicId)
        Set 投递任务绑定的日志主题 ID
        Parameters:
        TopicId - 投递任务绑定的日志主题 ID
      • getNeedContent

        public Boolean getNeedContent()
        Get 是否投递日志的元数据信息,默认为 true
        Returns:
        NeedContent 是否投递日志的元数据信息,默认为 true
      • setNeedContent

        public void setNeedContent​(Boolean NeedContent)
        Set 是否投递日志的元数据信息,默认为 true
        Parameters:
        NeedContent - 是否投递日志的元数据信息,默认为 true
      • getContent

        public ConsumerContent getContent()
        Get 如果需要投递元数据信息,元数据信息的描述
        Returns:
        Content 如果需要投递元数据信息,元数据信息的描述
      • setContent

        public void setContent​(ConsumerContent Content)
        Set 如果需要投递元数据信息,元数据信息的描述
        Parameters:
        Content - 如果需要投递元数据信息,元数据信息的描述
      • getCkafka

        public Ckafka getCkafka()
        Get CKafka的描述
        Returns:
        Ckafka CKafka的描述
      • setCkafka

        public void setCkafka​(Ckafka Ckafka)
        Set CKafka的描述
        Parameters:
        Ckafka - CKafka的描述
      • getCompression

        public Long getCompression()
        Get 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]
        Returns:
        Compression 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]
      • setCompression

        public void setCompression​(Long Compression)
        Set 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]
        Parameters:
        Compression - 投递时压缩方式,取值0,2,3。[0:NONE;2:SNAPPY;3:LZ4]