public class ShardConsumerNotifyingSubscriber extends Object implements NotifyingSubscriber
Constructor and Description |
---|
ShardConsumerNotifyingSubscriber() |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Subscriber<RecordsRetrieved> |
getDelegateSubscriber()
Return the actual subscriber to which the events needs to be delegated.
|
RecordsDeliveryAck |
getRecordsDeliveryAck(RecordsRetrieved recordsRetrieved)
Construct RecordsDeliveryAck object from the incoming data and return it
|
RecordsPublisher |
getRecordsPublisher()
Return the publisher to be notified
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onComplete, onError, onNext, onSubscribe
public org.reactivestreams.Subscriber<RecordsRetrieved> getDelegateSubscriber()
NotifyingSubscriber
getDelegateSubscriber
in interface NotifyingSubscriber
public RecordsPublisher getRecordsPublisher()
NotifyingSubscriber
getRecordsPublisher
in interface NotifyingSubscriber
public RecordsDeliveryAck getRecordsDeliveryAck(RecordsRetrieved recordsRetrieved)
NotifyingSubscriber
getRecordsDeliveryAck
in interface NotifyingSubscriber
recordsRetrieved
- for which we need the ack.Copyright © 2022. All rights reserved.