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, Adrian Chlebosz, Sanghyeok An
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsConstructorDescriptionDestinationTopic(@Nullable String destinationName, DestinationTopic.Properties properties) DestinationTopic(String destinationName, DestinationTopic sourceDestinationtopic, String suffix, org.springframework.kafka.retrytopic.DestinationTopic.Type type) 
- 
Method SummaryModifier and TypeMethodDescriptionboolean@Nullable StringlongKafkaOperations<?, ?> inthashCode()booleanbooleanbooleanbooleanbooleanbooleanshouldRetryOn(Integer attempt, Throwable e) toString()
- 
Constructor Details- 
DestinationTopic
- 
DestinationTopicpublic DestinationTopic(String destinationName, DestinationTopic sourceDestinationtopic, String suffix, org.springframework.kafka.retrytopic.DestinationTopic.Type type) 
 
- 
- 
Method Details- 
getDestinationDelay
- 
getDestinationPartitions
- 
isAlwaysRetryOnDltFailurepublic boolean isAlwaysRetryOnDltFailure()
- 
isDltTopicpublic boolean isDltTopic()
- 
isNoOpsTopicpublic boolean isNoOpsTopic()
- 
isReusableRetryTopicpublic boolean isReusableRetryTopic()
- 
isMainTopicpublic boolean isMainTopic()
- 
getDestinationName
- 
getKafkaOperations
- 
shouldRetryOn
- 
usedForExceptions
- 
toString
- 
equals
- 
hashCode
- 
getDestinationTimeoutpublic long getDestinationTimeout()
 
-