public class DeadLetterConfig extends AbstractModel
Constructor and Description |
---|
DeadLetterConfig() |
DeadLetterConfig(DeadLetterConfig 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 |
---|---|
CkafkaDeliveryParams |
getCkafkaDeliveryParams()
Get If the DLQ mode is set, this option is required.
|
String |
getDisposeMethod()
Get Three modes are supported: DLQ, drop, and ignore error, which correspond to `DLQ`, `DROP`, and `IGNORE_ERROR` respectively
|
void |
setCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)
Set If the DLQ mode is set, this option is required.
|
void |
setDisposeMethod(String DisposeMethod)
Set Three modes are supported: DLQ, drop, and ignore error, which correspond to `DLQ`, `DROP`, and `IGNORE_ERROR` respectively
|
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 DeadLetterConfig()
public DeadLetterConfig(DeadLetterConfig source)
public String getDisposeMethod()
public void setDisposeMethod(String DisposeMethod)
DisposeMethod
- Three modes are supported: DLQ, drop, and ignore error, which correspond to `DLQ`, `DROP`, and `IGNORE_ERROR` respectivelypublic CkafkaDeliveryParams getCkafkaDeliveryParams()
public void setCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)
CkafkaDeliveryParams
- If the DLQ mode is set, this option is required. Error messages will be delivered to the corresponding Kafka topic
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.