Class KafkaProperties.Retry.Topic
java.lang.Object
org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic
- Enclosing class:
- KafkaProperties.Retry
Properties for non-blocking, topic-based retries.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getDelay()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.boolean
boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
setAttempts
(int attempts) void
Deprecated, for removal: This API element is subject to removal in a future version.void
setEnabled
(boolean enabled) void
setMaxDelay
(Duration maxDelay) Deprecated, for removal: This API element is subject to removal in a future version.void
setMultiplier
(double multiplier) Deprecated, for removal: This API element is subject to removal in a future version.void
setRandomBackOff
(boolean randomBackOff) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Topic
public Topic()
-
-
Method Details
-
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()Deprecated, for removal: This API element is subject to removal in a future version. -
setDelay
Deprecated, for removal: This API element is subject to removal in a future version. -
getMultiplier
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.multiplier", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public double getMultiplier()Deprecated, for removal: This API element is subject to removal in a future version. -
setMultiplier
Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxDelay
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.maxDelay", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public Duration getMaxDelay()Deprecated, for removal: This API element is subject to removal in a future version. -
setMaxDelay
Deprecated, for removal: This API element is subject to removal in a future version. -
isRandomBackOff
@DeprecatedConfigurationProperty(replacement="spring.kafka.retry.topic.backoff.random", since="3.4.0") @Deprecated(since="3.4.0", forRemoval=true) public boolean isRandomBackOff()Deprecated, for removal: This API element is subject to removal in a future version. -
setRandomBackOff
Deprecated, for removal: This API element is subject to removal in a future version. -
getBackoff
-