public class KafkaOption extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
KafkaOption()  | 
KafkaOption(KafkaOption 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 | 
|---|---|
String | 
getDataType()
Get Data type delivered to Kafka, such as Avro, Json, canal-pb, canal-json 
 | 
String | 
getDDLTopicName()
Get Topic for DDL storage 
 | 
TopicRule[] | 
getTopicRules()
Get Topic description 
 | 
String | 
getTopicType()
Get Topic sync policy, such as `Single` (deliver all data to a single topic), `Multi` (deliver data to multiple custom topics). 
 | 
void | 
setDataType(String DataType)
Set Data type delivered to Kafka, such as Avro, Json, canal-pb, canal-json 
 | 
void | 
setDDLTopicName(String DDLTopicName)
Set Topic for DDL storage 
 | 
void | 
setTopicRules(TopicRule[] TopicRules)
Set Topic description 
 | 
void | 
setTopicType(String TopicType)
Set Topic sync policy, such as `Single` (deliver all data to a single topic), `Multi` (deliver data to multiple custom topics). 
 | 
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 KafkaOption()
public KafkaOption(KafkaOption source)
public String getDataType()
public void setDataType(String DataType)
DataType - Data type delivered to Kafka, such as Avro, Json, canal-pb, canal-jsonpublic String getTopicType()
public void setTopicType(String TopicType)
TopicType - Topic sync policy, such as `Single` (deliver all data to a single topic), `Multi` (deliver data to multiple custom topics).public String getDDLTopicName()
public void setDDLTopicName(String DDLTopicName)
DDLTopicName - Topic for DDL storagepublic TopicRule[] getTopicRules()
public void setTopicRules(TopicRule[] TopicRules)
TopicRules - Topic descriptionCopyright © 2025. All rights reserved.