public class InitialOffsetsFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long>>
OffsetManager
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
VALIDATION_PATTERN |
Constructor and Description |
---|
InitialOffsetsFactoryBean(java.lang.String topics,
java.lang.String initialOffsetList) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long> |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
public InitialOffsetsFactoryBean(java.lang.String topics, java.lang.String initialOffsetList)
public java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long> getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long>>
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long>>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<java.util.Map<org.springframework.integration.kafka.core.Partition,java.lang.Long>>