roger_ui v0.1.9 RogerUI.Partitions

Generate Partition list from Roger.Info.partitions()

Link to this section Summary

Functions

Takes a Keyword list that contains the nodes, status and partitions with queues, like this

Link to this section Functions

Link to this function normalize(partitions)

Takes a Keyword list that contains the nodes, status and partitions with queues, like this:

[ “server@127.0.0.1”: %{

running: %{
  "roger_test_partition_1" => %{
    default: %{consumer_count: 1, max_workers: 10, message_count: 740, paused: false},
    fast: %{consumer_count: 1, max_workers: 10, message_count: 740, paused: false},
    other: %{consumer_count: 1, max_workers: 2, message_count: 0, paused: false}
  }
},...

]

and transforms it into a partition list