Sha256: bf5ac9265dc3b984433e2e7df3b01adefb1c379aa4a63baa5ce04ee756839246

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

<% safe_key = ::Karafka::Web::Ui::Lib::SafeRunner.new { message.key } %>

<% if message.is_a?(Array) %>
  <tr>
    <td class="text-muted">
      <%= message[0] %>
    </td>
    <td class="text-muted">
      <%= message[1] %>
    </td>
    <td colspan="3" class="text-center text-muted">
      This offset does not contain any data. The message may have been compacted or is a system entry.
    </td>
  </tr>
<% else %>
  <tr>
    <td>
      <%= message.partition %>
    </td>
    <td>
      <%= message.offset %>
    </td>
    <td>
      <%== time_with_label(message.timestamp) %>
    </td>
    <td>
      <% if @visibility_filter.key?(message) %>
        <% if safe_key.success? %>
          <%= safe_key.result %>
        <% else %>
          <span class="text-muted">[Deserialization Failed]</span>
        <% end %>
      <% else %>
        <span class="text-muted">[Filtered]</span>
      <% end %>
    </td>
    <td class="text-center">
      <a href="<%= explorer_path(message.topic, message.partition, message.offset) %>" class="btn btn-sm btn-secondary">
        Details
      </a>
    </td>
  </tr>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
karafka-web-0.9.1 lib/karafka/web/pro/ui/views/explorer/_message.erb
karafka-web-0.9.0 lib/karafka/web/pro/ui/views/explorer/_message.erb
karafka-web-0.9.0.rc3 lib/karafka/web/pro/ui/views/explorer/_message.erb
karafka-web-0.9.0.rc2 lib/karafka/web/pro/ui/views/explorer/_message.erb
karafka-web-0.9.0.rc1 lib/karafka/web/pro/ui/views/explorer/_message.erb