Interface RetryTopicNamesProviderFactory.RetryTopicNamesProvider
- All Known Implementing Classes:
SuffixingRetryTopicNamesProviderFactory.SuffixingRetryTopicNamesProvider
- Enclosing interface:
RetryTopicNamesProviderFactory
public static interface RetryTopicNamesProviderFactory.RetryTopicNamesProvider
- Author:
- Andrea Polci
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getClientIdPrefix
(KafkaListenerEndpoint endpoint) Return the clientId prefix that will override the endpoint's clientId prefix.@Nullable String
getEndpointId
(KafkaListenerEndpoint endpoint) Return the endpoint id that will override the endpoint's current id.@Nullable String
getGroup
(KafkaListenerEndpoint endpoint) Return the group that will override the endpoint's group.@Nullable String
getGroupId
(KafkaListenerEndpoint endpoint) Return the groupId that will override the endpoint's groupId.@Nullable String
getTopicName
(String topic) Return the tropic name that will override the base topic name.
-
Method Details
-
getEndpointId
Return the endpoint id that will override the endpoint's current id.- Parameters:
endpoint
- the endpoint to override- Returns:
- The endpoint id
-
getGroupId
Return the groupId that will override the endpoint's groupId.- Parameters:
endpoint
- the endpoint to override- Returns:
- The groupId
-
getClientIdPrefix
Return the clientId prefix that will override the endpoint's clientId prefix.- Parameters:
endpoint
- the endpoint to override- Returns:
- The clientId prefix
-
getGroup
Return the group that will override the endpoint's group.- Parameters:
endpoint
- the endpoint to override- Returns:
- The clientId prefix
-
getTopicName
-