pulsar-client-cpp
Public Member Functions | List of all members
pulsar::ConsumerEventListener Class Referenceabstract

Public Member Functions

virtual void becameActive (Consumer consumer, int partitionId)=0
 Notified when the consumer group is changed, and the consumer becomes active. More...
 
virtual void becameInactive (Consumer consumer, int partitionId)=0
 Notified when the consumer group is changed, and the consumer is still inactive or becomes inactive. More...
 

Member Function Documentation

◆ becameActive()

virtual void pulsar::ConsumerEventListener::becameActive ( Consumer  consumer,
int  partitionId 
)
pure virtual

Notified when the consumer group is changed, and the consumer becomes active.

Parameters
consumerthe consumer that originated the event
partitionIdthe id of the partition that beconmes active.

◆ becameInactive()

virtual void pulsar::ConsumerEventListener::becameInactive ( Consumer  consumer,
int  partitionId 
)
pure virtual

Notified when the consumer group is changed, and the consumer is still inactive or becomes inactive.

Parameters
consumerthe consumer that originated the event
partitionIdthe id of the partition that is still inactive or becomes inactive.

The documentation for this class was generated from the following file: