public class KafkaOption extends AbstractModel
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 Type of data that is delivered to Kafka, such as `Avro` and `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 Type of data that is delivered to Kafka, such as `Avro` and `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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public KafkaOption()
public KafkaOption(KafkaOption source)
public String getDataType()
public void setDataType(String DataType)
DataType
- Type of data that is delivered to Kafka, such as `Avro` and `Json`.public 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 © 2023. All rights reserved.