public class LegacyGroupResolver extends GroupPatternResolver
configure(Map) later. The parameters passed in during configure() determine
the behaviour of the resolver. The class implements the GroupResolver interface.DEFAULT_PLACEHOLDER_VALUE, GROUP_ID_PATTERN_CONFIGDEFAULT_PREFIX| Constructor and Description |
|---|
LegacyGroupResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.util.Map<java.lang.String,?> configs) |
java.lang.String |
resolve(java.lang.String group)
Translates the internal representation of name to the external one.
|
java.util.Map<java.lang.String,java.lang.String> |
unresolveContext(java.lang.String group)
Translates the external representation of a name to the internal one, returning a map of all
parsed fields.
|
getNameFromContext, resolveGroup, unresolve, unresolveGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveGroups, unresolveGroupspublic void configure(java.util.Map<java.lang.String,?> configs)
configure in interface Resolverconfigure in interface org.apache.kafka.common.Configurableconfigure in class GroupPatternResolverpublic java.lang.String resolve(java.lang.String group)
Resolverresolve in interface Resolverresolve in class GroupPatternResolvergroup - the internal namepublic java.util.Map<java.lang.String,java.lang.String> unresolveContext(java.lang.String group)
ResolverunresolveContext in interface ResolverunresolveContext in class GroupPatternResolvergroup - the external nameCopyright © 2020–2022 Axual B.V.. All rights reserved.