-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
After an #844 partitionsMapStream
is no more a "Stream
where each element contains a current assignment" as was mentioned in the scala doc previously.
It looks like if we want to retain such functionality, we need to add a new stream method like this:
def detailedDataStream: Stream[F, FullAssigmnentInfo[F, K, V]]
case class FullAssigmnentInfo[F[_], K, V](
newlyAssignedPartitions: Map[TopicPartition, Stream[F, CommittableConsumerRecord[F, K, V]],
revokedPartitions: SortedSet[TopicPartition],
retainedPartitions: SortedSet[TopicPartition],
)
Naming is not final, just my thoughts.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request