类 KafkaProperties.Retry.Topic
java.lang.Object
org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic
Properties for non-blocking, topic-based retries.
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
getDelay()
已过时, 待删除: 此 API 元素将从以后的版本中删除。已过时, 待删除: 此 API 元素将从以后的版本中删除。double
已过时, 待删除: 此 API 元素将从以后的版本中删除。boolean
boolean
已过时, 待删除: 此 API 元素将从以后的版本中删除。void
setAttempts
(int attempts) void
已过时, 待删除: 此 API 元素将从以后的版本中删除。void
setEnabled
(boolean enabled) void
setMaxDelay
(Duration maxDelay) 已过时, 待删除: 此 API 元素将从以后的版本中删除。void
setMultiplier
(double multiplier) 已过时, 待删除: 此 API 元素将从以后的版本中删除。void
setRandomBackOff
(boolean randomBackOff) 已过时, 待删除: 此 API 元素将从以后的版本中删除。
-
构造器详细资料
-
Topic
public Topic()
-
-
方法详细资料
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getAttempts
public int getAttempts() -
setAttempts
public void setAttempts(int attempts) -
getDelay
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.delay", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public Duration getDelay()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
setDelay
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
getMultiplier
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.multiplier", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public double getMultiplier()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
setMultiplier
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
getMaxDelay
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.maxDelay", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public Duration getMaxDelay()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
setMaxDelay
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
isRandomBackOff
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.random", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public boolean isRandomBackOff()已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
setRandomBackOff
已过时, 待删除: 此 API 元素将从以后的版本中删除。 -
getBackoff
-