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 IConsumerStatusChange recording all state transitions.
Declaration
IReadOnlyCollection<IConsumerStatusChange> History { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<IConsumerStatusChange> |
LatestConsumedMessageIdentifier
Gets the message identifier of the latest consumed message.
Declaration
IBrokerMessageIdentifier? LatestConsumedMessageIdentifier { get; }
Property Value
Type | Description |
---|---|
IBrokerMessageIdentifier |
LatestConsumedMessageTimestamp
Gets the timestamp at which the latest message has been consumed.
Declaration
DateTime? LatestConsumedMessageTimestamp { get; }
Property Value
Type | Description |
---|---|
DateTime? |
Status
Gets the current consumer status.
Declaration
ConsumerStatus Status { get; }
Property Value
Type | Description |
---|---|
ConsumerStatus |