Skip to content

Commit

Permalink
Added impl to test TestConsumerGroupsAlgebra
Browse files Browse the repository at this point in the history
  • Loading branch information
abhivermaaa committed May 21, 2024
1 parent 4319877 commit 593acab
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ final case class TestConsumerGroupsAlgebra(consumerGroupMap: Map[TopicConsumerKe

override def getUniquePerNodeConsumerGroup: String = "uniquePerNodeConsumerGroup"

override def getOffsetsForInternalCGTopic: IO[PartitionOffsetsWithTotalLag] = ???
// {
// IO.pure(PartitionOffsetsWithTotalLag(60, 30, 30, 50,
// List(PartitionOffset(1,10,20,10), PartitionOffset(2,10,20,10), PartitionOffset(3,10,20,10))
// ))
// }
override def getOffsetsForInternalCGTopic: IO[PartitionOffsetsWithTotalLag] = {
IO.pure(PartitionOffsetsWithTotalLag(60, 30, 30, 50,
List(PartitionOffset(1,10,20,10), PartitionOffset(2,10,20,10), PartitionOffset(3,10,20,10))
))
}
}

object TestConsumerGroupsAlgebra {
Expand Down

0 comments on commit 593acab

Please sign in to comment.