Class DestinationTopic
java.lang.Object
org.springframework.kafka.retrytopic.DestinationTopic
Representation of a Destination Topic to which messages can be forwarded, such as retry topics and dlt.
- Since:
- 2.7
- Author:
- Tomaz Fernandes, Gary Russell
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionDestinationTopic
(String destinationName, DestinationTopic.Properties properties) DestinationTopic
(String destinationName, DestinationTopic sourceDestinationtopic, String suffix, org.springframework.kafka.retrytopic.DestinationTopic.Type type) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
KafkaOperations<?,
?> int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
shouldRetryOn
(Integer attempt, Throwable e) toString()
-
Constructor Details
-
DestinationTopic
-
DestinationTopic
public DestinationTopic(String destinationName, DestinationTopic sourceDestinationtopic, String suffix, org.springframework.kafka.retrytopic.DestinationTopic.Type type)
-
-
Method Details
-
getDestinationDelay
-
getDestinationPartitions
-
isAlwaysRetryOnDltFailure
public boolean isAlwaysRetryOnDltFailure() -
isDltTopic
public boolean isDltTopic() -
isNoOpsTopic
public boolean isNoOpsTopic() -
isReusableRetryTopic
public boolean isReusableRetryTopic() -
isMainTopic
public boolean isMainTopic() -
getDestinationName
-
getKafkaOperations
-
shouldRetryOn
-
toString
-
equals
-
hashCode
public int hashCode() -
getDestinationTimeout
public long getDestinationTimeout()
-