View Source Spear.PersistentSubscription.Info (Spear v1.4.1)

A struct representing information pertaining to a persistent subscription.

Returned by Spear.get_persistent_subscription_info/4

Summary

Types

t()

details of a persistent subscription.

Types

@type t() :: %Spear.PersistentSubscription.Info{
  average_per_second: integer(),
  buffer_size: integer(),
  check_point_after_milliseconds: integer(),
  connections: [Spear.PersistentSubscription.Info.ConnectionInfo.t()],
  count_since_last_measurement: integer(),
  event_source: String.t() | :all,
  extra_statistics?: boolean(),
  group_name: String.t(),
  last_checkpointed_event_position: String.t(),
  last_known_event_position: String.t(),
  live_buffer_count: integer(),
  live_buffer_size: integer(),
  max_check_point_count: integer(),
  max_retry_count: integer(),
  max_subscriber_count: integer(),
  message_timeout_milliseconds: integer(),
  min_check_point_count: integer(),
  named_consumer_strategy:
    Spear.PersistentSubscription.Settings.consumer_strategy(),
  outstanding_messages_count: integer(),
  parked_message_count: integer(),
  read_batch_size: integer(),
  read_buffer_count: integer(),
  resolve_link_tos?: boolean(),
  retry_buffer_count: integer(),
  start_from: String.t(),
  status: String.t(),
  total_in_flight_messages: integer(),
  total_items: integer()
}

details of a persistent subscription.

See the EventStoredDB for more details.