public class ModifyKafkaConsumerRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyKafkaConsumerRequest() | 
| ModifyKafkaConsumerRequest(ModifyKafkaConsumerRequest 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getCompression()Get 压缩方式。0:不压缩;2:使用Snappy压缩;3:使用LZ4压缩 | 
| KafkaConsumerContent | getConsumerContent()Get kafka协议消费数据格式 | 
| String | getFromTopicId()Get 日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。 | 
| void | setCompression(Long Compression)Set 压缩方式。0:不压缩;2:使用Snappy压缩;3:使用LZ4压缩 | 
| void | setConsumerContent(KafkaConsumerContent ConsumerContent)Set kafka协议消费数据格式 | 
| void | setFromTopicId(String FromTopicId)Set 日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ModifyKafkaConsumerRequest()
public ModifyKafkaConsumerRequest(ModifyKafkaConsumerRequest source)
public String getFromTopicId()
public void setFromTopicId(String FromTopicId)
FromTopicId - 日志主题Id。
- 通过 [获取日志主题列表](https://cloud.tencent.com/document/product/614/56454) 获取日志主题Id。
- 通过 [创建日志主题](https://cloud.tencent.com/document/product/614/56456) 获取日志主题Id。public Long getCompression()
public void setCompression(Long Compression)
Compression - 压缩方式。0:不压缩;2:使用Snappy压缩;3:使用LZ4压缩public KafkaConsumerContent getConsumerContent()
public void setConsumerContent(KafkaConsumerContent ConsumerContent)
ConsumerContent - kafka协议消费数据格式Copyright © 2025. All rights reserved.