Interface IConsumerStatusInfo
- Namespace
- Silverback.Messaging.Broker
- Assembly
- Silverback.Integration.dll
Encapsulates the status details and basic statistics of an IConsumer.
public interface IConsumerStatusInfo
Properties
ConsumedMessagesCount
Gets the total number of messages that have been consumed by the consumer instance.
int ConsumedMessagesCount { get; }
Property Value
History
Gets the collection of IConsumerStatusChange recording all state transitions.
IReadOnlyCollection<IConsumerStatusChange> History { get; }
Property Value
LatestConsumedMessageIdentifier
Gets the message identifier of the latest consumed message.
IBrokerMessageIdentifier? LatestConsumedMessageIdentifier { get; }
Property Value
LatestConsumedMessageTimestamp
Gets the timestamp at which the latest message has been consumed.
DateTime? LatestConsumedMessageTimestamp { get; }
Property Value
Status
Gets the current consumer status.
ConsumerStatus Status { get; }