Skip to content

Commit

Permalink
Forgot to commit this file
Browse files Browse the repository at this point in the history
  • Loading branch information
svroonland committed Nov 2, 2024
1 parent 3c0cfd1 commit 90ca347
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ final class PartitionStreamControl private (

def queueSize: UIO[Int] = queueInfoRef.get.map(_.size)

def lastPulledOffset: UIO[Option[Offset]] = queueInfoRef.get.map(_.lastPulledOffset)

/**
* @return
* the number of polls there are records idling in the queue. It is increased on every poll (when the queue is
Expand Down

0 comments on commit 90ca347

Please sign in to comment.