Class UninitializedMessageReceiver
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.consumer.receiver.UninitializedMessageReceiver
-
- All Implemented Interfaces:
MessageReceiver
public class UninitializedMessageReceiver extends java.lang.Object implements MessageReceiver
-
-
Constructor Summary
Constructors Constructor Description UninitializedMessageReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit(java.util.Set<SubscriptionPartitionOffset> offsets)booleanmoveOffset(pl.allegro.tech.hermes.common.kafka.offset.PartitionOffset offset)java.util.Optional<Message>next()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.allegro.tech.hermes.consumers.consumer.receiver.MessageReceiver
stop, update
-
-
-
-
Method Detail
-
next
public java.util.Optional<Message> next()
- Specified by:
nextin interfaceMessageReceiver
-
commit
public void commit(java.util.Set<SubscriptionPartitionOffset> offsets)
- Specified by:
commitin interfaceMessageReceiver
-
moveOffset
public boolean moveOffset(pl.allegro.tech.hermes.common.kafka.offset.PartitionOffset offset)
- Specified by:
moveOffsetin interfaceMessageReceiver
-
-