<%== view_title('Consumers groups offsets details') %> <% if @stats.empty? %> <%== partial 'health/no_data' %> <% else %> <%== partial 'health/tabs' %> <% end %> <% @stats.each_with_index do |(cg_name, details), index| %>

<%= cg_name %>

Last rebalance: <%== relative_time(details[:rebalanced_at]) %>
<% topics = details[:topics] %> <% topics.each_with_index do |(topic_name, partitions), index| %> <% partitions.each do |partition_id, details| %> <%== partial( 'health/partition_offset', locals: { topic_name: topic_name, partition_id: partition_id, details: details } ) %> <% end %>
<%= topic_name %>
<%== sort_link('Partition', :id) %> <%== sort_link(:lag_stored) %> <%== sort_link(:committed_offset) %> <%== sort_link('Committed offset change', :committed_offset_fd) %> <%== sort_link(:stored_offset) %> <%== sort_link('Stored offset change', :stored_offset_fd) %> <%== sort_link('Low offset', :lo_offset) %> <%== sort_link('High offset', :hi_offset) %> <%== sort_link('High offset change', :hi_offset_fd) %> <%== sort_link('Last stable offset', :ls_offset) %> <%== sort_link('Last stable offset change', :ls_offset_fd) %> <%== sort_link('Last stable offset state', :lso_risk_state) %>
<% end %>
<% end %>