Interface IConsumerStatusInfo
Encapsulates the status details and basic statistics of an IConsumer.
Namespace: Silverback.Messaging.Broker
Assembly: Silverback.Integration.dll
Syntax
public interface IConsumerStatusInfo
Properties
| Improve this doc View sourceConsumedMessagesCount
Gets the total number of messages that have been consumed by the consumer instance.
Declaration
int ConsumedMessagesCount { get; }
Property Value
Type | Description |
---|---|
int |
History
Gets the collection of IConsumer
Declaration
IReadOnlyCollection<IConsumerStatusChange> History { get; }
Property Value
Type | Description |
---|---|
IRead |
LatestConsumedMessageIdentifier
Gets the message identifier of the latest consumed message.
Declaration
IBrokerMessageIdentifier? LatestConsumedMessageIdentifier { get; }
Property Value
Type | Description |
---|---|
IBroker |
LatestConsumedMessageTimestamp
Gets the timestamp at which the latest message has been consumed.
Declaration
DateTime? LatestConsumedMessageTimestamp { get; }
Property Value
Type | Description |
---|---|
Date |
Status
Gets the current consumer status.
Declaration
ConsumerStatus Status { get; }
Property Value
Type | Description |
---|---|
Consumer |