org.apache.pekko.stream.javadsl.PartitionHub.ConsumerInfo
Attributes
Source
Hub.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Members list
Obtain consumer identifier by index
Obtain consumer identifier by index
Attributes
Source
Hub.scala
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.
Attributes
Source
Hub.scala
Approximate number of buffered elements for a consumer. Larger value than other consumers could be an indication of that the consumer is slow.
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.
Attributes
Source
Hub.scala
Number of attached consumers.
Number of attached consumers.
Attributes
Source
Hub.scala