lib/karafka/web/ui/views/jobs/_job.erb in karafka-web-0.8.2 vs lib/karafka/web/ui/views/jobs/_job.erb in karafka-web-0.9.0.rc1
- old
+ new
@@ -1,9 +1,9 @@
<tr>
<td>
<a href="<%= root_path('consumers', job.process.id, 'subscriptions') %>">
- <%= job.process.name %>
+ <%== truncate(job.process.id, strategy: :middle) %>
</a>
</td>
<td>
<span class="badge bg-secondary badge-topic" title="Consumer group: <%= job.consumer_group %>">
<%= job.topic %>:
@@ -18,9 +18,12 @@
<%== tags(job.tags) %>
<% end %>
</td>
<td>
<code>#<%= job.type %></code>
+ </td>
+ <td>
+ <%== offset_with_label job.topic, job.partition, job.first_offset %>
</td>
<td>
<%== relative_time job.updated_at %>
</td>
</tr>