Record Class EndpointCustomizer.TopicNamesHolder
java.lang.Object
java.lang.Record
org.springframework.kafka.retrytopic.EndpointCustomizer.TopicNamesHolder
- Enclosing interface:
EndpointCustomizer<T extends MethodKafkaListenerEndpoint<?,?>>
-
Constructor Summary
ConstructorsConstructorDescriptionTopicNamesHolder(String mainTopic, @Nullable String customizedTopic) Creates an instance of aTopicNamesHolderrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thecustomizedTopicrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themainTopicrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TopicNamesHolder
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
mainTopic
Returns the value of themainTopicrecord component.- Returns:
- the value of the
mainTopicrecord component
-
customizedTopic
Returns the value of thecustomizedTopicrecord component.- Returns:
- the value of the
customizedTopicrecord component
-