Table of Contents

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

int

History

Gets the collection of IConsumerStatusChange recording all state transitions.

IReadOnlyCollection<IConsumerStatusChange> History { get; }

Property Value

IReadOnlyCollection<IConsumerStatusChange>

LatestConsumedMessageIdentifier

Gets the message identifier of the latest consumed message.

IBrokerMessageIdentifier? LatestConsumedMessageIdentifier { get; }

Property Value

IBrokerMessageIdentifier

LatestConsumedMessageTimestamp

Gets the timestamp at which the latest message has been consumed.

DateTime? LatestConsumedMessageTimestamp { get; }

Property Value

DateTime?

Status

Gets the current consumer status.

ConsumerStatus Status { get; }

Property Value

ConsumerStatus