trait ConsumerInfo extends javadsl.PartitionHub.ConsumerInfo

Annotations
@DoNotInherit()
Source
Hub.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsumerInfo
  2. ConsumerInfo
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def consumerIdByIdx(idx: Int): Long

    Obtain consumer identifier by index

    Obtain consumer identifier by index

    Definition Classes
    ConsumerInfo
  2. abstract def consumerIds: [Long]

    Sequence of all identifiers of current consumers.

    Sequence of all identifiers of current consumers.

    Use this method only if you need to enumerate consumer existing ids. When selecting a specific consumerId by its index, prefer using the dedicated #consumerIdByIdx method instead, which is optimised for this use case.

  3. abstract def getConsumerIds: [Long]

    Sequence of all identifiers of current consumers.

    Sequence of all identifiers of current consumers.

    Use this method only if you need to enumerate consumer existing ids. When selecting a specific consumerId by its index, prefer using the dedicated #consumerIdByIdx method instead, which is optimised for this use case.

    Definition Classes
    ConsumerInfo
  4. abstract def queueSize(consumerId: Long): Int

    Approximate number of buffered elements for a consumer.

    Approximate number of buffered elements for a consumer. Larger value than other consumers could be an indication of that the consumer is slow.

    Note that this is a moving target since the elements are consumed concurrently.

    Definition Classes
    ConsumerInfo
  5. abstract def size: Int

    Number of attached consumers.

    Number of attached consumers.

    Definition Classes
    ConsumerInfo