public class DeadLetterConfig extends AbstractModel
skipSign
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 设置了DLQ方式后,此选项必填.
|
String |
getDisposeMethod()
Get 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
|
void |
setCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)
Set 设置了DLQ方式后,此选项必填.
|
void |
setDisposeMethod(String DisposeMethod)
Set 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERROR
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DeadLetterConfig()
public DeadLetterConfig(DeadLetterConfig source)
public String getDisposeMethod()
public void setDisposeMethod(String DisposeMethod)
DisposeMethod
- 支持dlq、丢弃、忽略错误继续传递三种模式, 分别对应: DLQ,DROP,IGNORE_ERRORpublic CkafkaDeliveryParams getCkafkaDeliveryParams()
public void setCkafkaDeliveryParams(CkafkaDeliveryParams CkafkaDeliveryParams)
CkafkaDeliveryParams
- 设置了DLQ方式后,此选项必填. 错误消息会被投递到对应的kafka topic中
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.