karafka-web 0.8.1 → 0.9.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/ci.yml +5 -16
- data/CHANGELOG.md +47 -0
- data/Gemfile.lock +33 -35
- data/LICENSE +3 -3
- data/bin/rspecs +1 -1
- data/config/locales/pro_errors.yml +11 -0
- data/config/locales/slogans.yml +62 -0
- data/docker-compose.yml +1 -1
- data/karafka-web.gemspec +4 -2
- data/lib/karafka/web/app.rb +1 -1
- data/lib/karafka/web/config.rb +19 -0
- data/lib/karafka/web/contracts/config.rb +6 -0
- data/lib/karafka/web/installer.rb +4 -1
- data/lib/karafka/web/management/actions/create_topics.rb +21 -0
- data/lib/karafka/web/management/actions/delete_topics.rb +1 -0
- data/lib/karafka/web/management/actions/enable.rb +11 -5
- data/lib/karafka/web/management/migrations/0_base.rb +1 -1
- data/lib/karafka/web/pro/commanding/commands/base.rb +33 -0
- data/lib/karafka/web/pro/commanding/commands/probe.rb +41 -0
- data/lib/karafka/web/pro/commanding/commands/quiet.rb +31 -0
- data/lib/karafka/web/pro/commanding/commands/stop.rb +31 -0
- data/lib/karafka/web/pro/commanding/config.rb +57 -0
- data/lib/karafka/web/pro/commanding/contracts/config.rb +60 -0
- data/lib/karafka/web/pro/commanding/dispatcher.rb +93 -0
- data/lib/karafka/web/pro/commanding/listener.rb +97 -0
- data/lib/karafka/web/pro/commanding/manager.rb +98 -0
- data/lib/karafka/web/pro/commanding/matcher.rb +50 -0
- data/lib/karafka/web/pro/commanding.rb +40 -0
- data/lib/karafka/web/pro/loader.rb +40 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/app.rb +103 -22
- data/lib/karafka/web/{ui/pro/controllers/cluster.rb → pro/ui/controllers/base_controller.rb} +4 -5
- data/lib/karafka/web/pro/ui/controllers/cluster_controller.rb +54 -0
- data/lib/karafka/web/pro/ui/controllers/commanding_controller.rb +118 -0
- data/lib/karafka/web/pro/ui/controllers/commands_controller.rb +96 -0
- data/lib/karafka/web/{ui/pro/controllers/consumers.rb → pro/ui/controllers/consumers_controller.rb} +31 -4
- data/lib/karafka/web/{ui/pro/controllers/dashboard.rb → pro/ui/controllers/dashboard_controller.rb} +5 -3
- data/lib/karafka/web/pro/ui/controllers/dlq_controller.rb +60 -0
- data/lib/karafka/web/{ui/pro/controllers/errors.rb → pro/ui/controllers/errors_controller.rb} +5 -7
- data/lib/karafka/web/{ui/pro/controllers/explorer.rb → pro/ui/controllers/explorer_controller.rb} +24 -19
- data/lib/karafka/web/{ui/pro/controllers/health.rb → pro/ui/controllers/health_controller.rb} +16 -3
- data/lib/karafka/web/{ui/pro/controllers/jobs.rb → pro/ui/controllers/jobs_controller.rb} +4 -4
- data/lib/karafka/web/{ui/pro/controllers/messages.rb → pro/ui/controllers/messages_controller.rb} +8 -6
- data/lib/karafka/web/{ui/pro/controllers/routing.rb → pro/ui/controllers/routing_controller.rb} +6 -22
- data/lib/karafka/web/{ui/pro/controllers/status.rb → pro/ui/controllers/status_controller.rb} +3 -3
- data/lib/karafka/web/pro/ui/controllers/topics_controller.rb +99 -0
- data/lib/karafka/web/pro/ui/lib/patterns_detector.rb +50 -0
- data/lib/karafka/web/pro/ui/views/cluster/_breadcrumbs.erb +29 -0
- data/lib/karafka/web/pro/ui/views/cluster/_broker.erb +13 -0
- data/lib/karafka/web/pro/ui/views/cluster/_config.erb +13 -0
- data/lib/karafka/web/pro/ui/views/cluster/_tabs.erb +27 -0
- data/lib/karafka/web/pro/ui/views/cluster/brokers.erb +27 -0
- data/lib/karafka/web/pro/ui/views/cluster/index.erb +27 -0
- data/lib/karafka/web/pro/ui/views/cluster/show.erb +27 -0
- data/lib/karafka/web/pro/ui/views/commands/_backtrace.erb +20 -0
- data/lib/karafka/web/pro/ui/views/commands/_breadcrumbs.erb +21 -0
- data/lib/karafka/web/pro/ui/views/commands/_command.erb +60 -0
- data/lib/karafka/web/pro/ui/views/commands/_command_details.erb +11 -0
- data/lib/karafka/web/pro/ui/views/commands/_details.erb +26 -0
- data/lib/karafka/web/pro/ui/views/commands/_empty.erb +3 -0
- data/lib/karafka/web/pro/ui/views/commands/_incompatible_schema.erb +14 -0
- data/lib/karafka/web/pro/ui/views/commands/_metadata.erb +50 -0
- data/lib/karafka/web/pro/ui/views/commands/_table.erb +23 -0
- data/lib/karafka/web/pro/ui/views/commands/index.erb +17 -0
- data/lib/karafka/web/pro/ui/views/commands/show.erb +38 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/_breadcrumbs.erb +20 -4
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/_consumer.erb +2 -21
- data/lib/karafka/web/pro/ui/views/consumers/_consumer_controls.erb +78 -0
- data/lib/karafka/web/pro/ui/views/consumers/_consumer_performance.erb +59 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/_counters.erb +7 -5
- data/lib/karafka/web/pro/ui/views/consumers/_tabs.erb +35 -0
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_commands.erb +32 -0
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_no_jobs.erb +7 -0
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_no_subscriptions.erb +7 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_subscription_group.erb +20 -9
- data/lib/karafka/web/pro/ui/views/consumers/consumer/_title.erb +5 -0
- data/lib/karafka/web/pro/ui/views/consumers/controls.erb +67 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/details.erb +6 -1
- data/lib/karafka/web/pro/ui/views/consumers/index.erb +39 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/pending_jobs.erb +15 -7
- data/lib/karafka/web/pro/ui/views/consumers/performance.erb +52 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/running_jobs.erb +15 -7
- data/lib/karafka/web/pro/ui/views/consumers/subscriptions.erb +28 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/dashboard/index.erb +10 -10
- data/lib/karafka/web/pro/ui/views/dlq/_no_topics.erb +7 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/dlq/index.erb +1 -1
- data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/_error.erb +2 -6
- data/lib/karafka/web/pro/ui/views/errors/_table.erb +23 -0
- data/lib/karafka/web/pro/ui/views/explorer/_failed_deserialization.erb +4 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/_message.erb +7 -1
- data/lib/karafka/web/pro/ui/views/explorer/_no_topics.erb +5 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/index.erb +1 -6
- data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/message/_metadata.erb +33 -9
- data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/message/_payload.erb +4 -4
- data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/message/_payload_actions.erb +1 -1
- data/lib/karafka/web/pro/ui/views/explorer/messages/_headers.erb +33 -0
- data/lib/karafka/web/pro/ui/views/explorer/messages/_key.erb +20 -0
- data/lib/karafka/web/pro/ui/views/explorer/partition/_cleaned.erb +5 -0
- data/lib/karafka/web/pro/ui/views/explorer/partition/_empty.erb +5 -0
- data/lib/karafka/web/pro/ui/views/explorer/partition/_messages.erb +21 -0
- data/lib/karafka/web/pro/ui/views/explorer/topic/_empty.erb +5 -0
- data/lib/karafka/web/pro/ui/views/explorer/topic/_limited.erb +10 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_breadcrumbs.erb +8 -0
- data/lib/karafka/web/pro/ui/views/health/_no_data.erb +7 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_partition.erb +1 -1
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_partition_lags.erb +6 -3
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_tabs.erb +11 -1
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/changes.erb +15 -10
- data/lib/karafka/web/pro/ui/views/health/cluster_lags.erb +54 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/lags.erb +16 -10
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/offsets.erb +17 -14
- data/lib/karafka/web/{ui/pro → pro/ui}/views/health/overview.erb +23 -9
- data/lib/karafka/web/{ui/pro → pro/ui}/views/jobs/_job.erb +1 -1
- data/lib/karafka/web/pro/ui/views/jobs/_no_jobs.erb +7 -0
- data/lib/karafka/web/{ui/pro → pro/ui}/views/jobs/pending.erb +12 -8
- data/lib/karafka/web/{ui/pro → pro/ui}/views/jobs/running.erb +12 -8
- data/lib/karafka/web/{ui/pro → pro/ui}/views/routing/_consumer_group.erb +2 -2
- data/lib/karafka/web/{ui/pro → pro/ui}/views/routing/index.erb +1 -1
- data/lib/karafka/web/{ui/pro → pro/ui}/views/routing/show.erb +1 -1
- data/lib/karafka/web/{ui/pro → pro/ui}/views/shared/_navigation.erb +14 -0
- data/lib/karafka/web/pro/ui/views/topics/_breadcrumbs.erb +37 -0
- data/lib/karafka/web/pro/ui/views/topics/_partition.erb +16 -0
- data/lib/karafka/web/pro/ui/views/topics/_tabs.erb +37 -0
- data/lib/karafka/web/pro/ui/views/topics/_topic.erb +12 -0
- data/lib/karafka/web/pro/ui/views/topics/config.erb +29 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution/_badges.erb +7 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution/_chart.erb +2 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution/_empty_partitions.erb +1 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution/_limited.erb +10 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution/_partition.erb +10 -0
- data/lib/karafka/web/pro/ui/views/topics/distribution.erb +47 -0
- data/lib/karafka/web/pro/ui/views/topics/index.erb +16 -0
- data/lib/karafka/web/pro/ui/views/topics/replication.erb +28 -0
- data/lib/karafka/web/processing/consumers/aggregators/base.rb +1 -1
- data/lib/karafka/web/processing/consumers/aggregators/metrics.rb +1 -1
- data/lib/karafka/web/processing/consumers/aggregators/state.rb +4 -4
- data/lib/karafka/web/tracking/consumers/contracts/report.rb +1 -1
- data/lib/karafka/web/tracking/consumers/contracts/subscription_group.rb +1 -1
- data/lib/karafka/web/tracking/consumers/listeners/booting.rb +36 -0
- data/lib/karafka/web/tracking/consumers/listeners/errors.rb +2 -2
- data/lib/karafka/web/tracking/consumers/reporter.rb +3 -3
- data/lib/karafka/web/tracking/consumers/sampler.rb +10 -4
- data/lib/karafka/web/tracking/contracts/error.rb +1 -1
- data/lib/karafka/web/tracking/producers/listeners/booting.rb +26 -0
- data/lib/karafka/web/tracking/producers/listeners/errors.rb +2 -2
- data/lib/karafka/web/tracking/producers/reporter.rb +1 -1
- data/lib/karafka/web/tracking/producers/sampler.rb +1 -1
- data/lib/karafka/web/tracking/sampler.rb +3 -3
- data/lib/karafka/web/tracking/scheduler.rb +0 -5
- data/lib/karafka/web/ui/app.rb +13 -9
- data/lib/karafka/web/ui/base.rb +1 -0
- data/lib/karafka/web/ui/controllers/{base.rb → base_controller.rb} +15 -2
- data/lib/karafka/web/ui/controllers/{become_pro.rb → become_pro_controller.rb} +1 -1
- data/lib/karafka/web/ui/controllers/{cluster.rb → cluster_controller.rb} +4 -4
- data/lib/karafka/web/ui/controllers/{consumers.rb → consumers_controller.rb} +3 -3
- data/lib/karafka/web/ui/controllers/{dashboard.rb → dashboard_controller.rb} +1 -1
- data/lib/karafka/web/ui/controllers/{errors.rb → errors_controller.rb} +2 -2
- data/lib/karafka/web/ui/controllers/{jobs.rb → jobs_controller.rb} +5 -5
- data/lib/karafka/web/ui/controllers/{routing.rb → routing_controller.rb} +2 -2
- data/lib/karafka/web/ui/controllers/{status.rb → status_controller.rb} +1 -1
- data/lib/karafka/web/ui/helpers/alerts_helper.rb +23 -0
- data/lib/karafka/web/ui/helpers/application_helper.rb +55 -1
- data/lib/karafka/web/ui/lib/paginations/offset_based.rb +3 -4
- data/lib/karafka/web/ui/lib/safe_runner.rb +59 -0
- data/lib/karafka/web/ui/models/broker.rb +66 -0
- data/lib/karafka/web/ui/models/health.rb +28 -2
- data/lib/karafka/web/ui/models/message.rb +9 -3
- data/lib/karafka/web/ui/models/process.rb +19 -5
- data/lib/karafka/web/ui/models/processes.rb +2 -2
- data/lib/karafka/web/ui/models/topic.rb +78 -0
- data/lib/karafka/web/ui/public/javascripts/application.js +18 -1
- data/lib/karafka/web/ui/public/javascripts/charts/data_formatting_utility.js +71 -0
- data/lib/karafka/web/ui/public/javascripts/charts/dataset_state_manager.js +49 -0
- data/lib/karafka/web/ui/public/javascripts/charts/types/bar.js +123 -0
- data/lib/karafka/web/ui/public/javascripts/charts/types/line.js +143 -0
- data/lib/karafka/web/ui/public/javascripts/charts.js +10 -325
- data/lib/karafka/web/ui/public/javascripts/live_poll.js +5 -5
- data/lib/karafka/web/ui/public/javascripts/tabs_manager.js +57 -0
- data/lib/karafka/web/ui/public/stylesheets/application.css +7 -6
- data/lib/karafka/web/ui/views/cluster/_breadcrumbs.erb +3 -3
- data/lib/karafka/web/ui/views/cluster/_no_partitions.erb +1 -3
- data/lib/karafka/web/ui/views/cluster/_tabs.erb +3 -3
- data/lib/karafka/web/ui/views/cluster/brokers.erb +19 -19
- data/lib/karafka/web/ui/views/cluster/replication.erb +37 -0
- data/lib/karafka/web/ui/views/consumers/_assignments_badges.erb +24 -0
- data/lib/karafka/web/ui/views/consumers/_consumer.erb +2 -15
- data/lib/karafka/web/ui/views/consumers/_counters.erb +1 -1
- data/lib/karafka/web/ui/views/consumers/_summary.erb +5 -5
- data/lib/karafka/web/ui/views/consumers/index.erb +22 -20
- data/lib/karafka/web/ui/views/dashboard/index.erb +9 -9
- data/lib/karafka/web/ui/views/errors/_cleaned.erb +1 -3
- data/lib/karafka/web/ui/views/errors/_error.erb +2 -6
- data/lib/karafka/web/ui/views/errors/_no_errors.erb +1 -3
- data/lib/karafka/web/ui/views/errors/index.erb +22 -20
- data/lib/karafka/web/ui/views/jobs/_job.erb +4 -1
- data/lib/karafka/web/ui/views/jobs/_no_jobs.erb +1 -3
- data/lib/karafka/web/ui/views/jobs/pending.erb +4 -3
- data/lib/karafka/web/ui/views/jobs/running.erb +4 -3
- data/lib/karafka/web/ui/views/routing/_consumer_group.erb +2 -2
- data/lib/karafka/web/ui/views/routing/index.erb +1 -1
- data/lib/karafka/web/ui/views/routing/show.erb +1 -1
- data/lib/karafka/web/ui/views/shared/_become_pro.erb +3 -3
- data/lib/karafka/web/ui/views/shared/_header.erb +16 -10
- data/lib/karafka/web/ui/views/shared/_navigation.erb +17 -3
- data/lib/karafka/web/ui/views/shared/_not_a_message.erb +5 -0
- data/lib/karafka/web/ui/views/shared/alerts/_info.erb +3 -0
- data/lib/karafka/web/ui/views/shared/charts/_bar.erb +7 -0
- data/lib/karafka/web/ui/views/shared/{_chart.erb → charts/_line.erb} +1 -1
- data/lib/karafka/web/ui/views/shared/exceptions/not_found.erb +1 -1
- data/lib/karafka/web/ui/views/status/show.erb +1 -1
- data/lib/karafka/web/version.rb +1 -1
- data/lib/karafka/web.rb +19 -2
- data.tar.gz.sig +0 -0
- metadata +191 -120
- metadata.gz.sig +0 -0
- data/lib/karafka/web/ui/pro/controllers/dlq.rb +0 -43
- data/lib/karafka/web/ui/pro/views/consumers/consumer/_no_jobs.erb +0 -9
- data/lib/karafka/web/ui/pro/views/consumers/consumer/_no_subscriptions.erb +0 -9
- data/lib/karafka/web/ui/pro/views/consumers/index.erb +0 -36
- data/lib/karafka/web/ui/pro/views/consumers/subscriptions.erb +0 -23
- data/lib/karafka/web/ui/pro/views/dlq/_no_topics.erb +0 -9
- data/lib/karafka/web/ui/pro/views/errors/_table.erb +0 -21
- data/lib/karafka/web/ui/pro/views/explorer/_failed_deserialization.erb +0 -4
- data/lib/karafka/web/ui/pro/views/explorer/_no_topics.erb +0 -7
- data/lib/karafka/web/ui/pro/views/explorer/messages/_headers.erb +0 -15
- data/lib/karafka/web/ui/pro/views/explorer/messages/_key.erb +0 -12
- data/lib/karafka/web/ui/pro/views/explorer/partition/_cleaned.erb +0 -3
- data/lib/karafka/web/ui/pro/views/explorer/partition/_empty.erb +0 -3
- data/lib/karafka/web/ui/pro/views/explorer/partition/_messages.erb +0 -19
- data/lib/karafka/web/ui/pro/views/explorer/topic/_empty.erb +0 -3
- data/lib/karafka/web/ui/pro/views/explorer/topic/_limited.erb +0 -4
- data/lib/karafka/web/ui/pro/views/health/_no_data.erb +0 -9
- data/lib/karafka/web/ui/pro/views/jobs/_no_jobs.erb +0 -9
- data/lib/karafka/web/ui/public/javascripts/tabs.js +0 -59
- data/lib/karafka/web/ui/views/cluster/topics.erb +0 -35
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_consumer_group.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_job.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_metrics.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_partition.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_stopped.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/consumers/consumer/_tabs.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/dlq/_breadcrumbs.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/dlq/_topic.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/_breadcrumbs.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/_partition_option.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/_title_with_select.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/index.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/partition.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/errors/show.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/_breadcrumbs.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/_filtered.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/_partition_option.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/_topic.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/message/_message_actions.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/messages/_detail.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/partition/_details.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/partition.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/show.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/topic/_details.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/explorer/topic.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_consumer_group_header.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_partition_offset.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/health/_partition_times.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/routing/_detail.erb +0 -0
- /data/lib/karafka/web/{ui/pro → pro/ui}/views/routing/_topic.erb +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{bootstrap.min.js → libs/bootstrap.min.js} +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{chart.min.js → libs/chart.min.js} +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{datepicker.js → libs/datepicker.js} +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{highlight.min.js → libs/highlight.min.js} +0 -0
- /data/lib/karafka/web/ui/public/javascripts/{timeago.min.js → libs/timeago.min.js} +0 -0
- /data/lib/karafka/web/ui/public/stylesheets/{bootstrap.min.css → libs/bootstrap.min.css} +0 -0
- /data/lib/karafka/web/ui/public/stylesheets/{datepicker.min.css → libs/datepicker.min.css} +0 -0
- /data/lib/karafka/web/ui/public/stylesheets/{highlight.min.css → libs/highlight.min.css} +0 -0
@@ -2,17 +2,20 @@
|
|
2
2
|
<td>
|
3
3
|
<%= partition_id %>
|
4
4
|
</td>
|
5
|
+
|
5
6
|
<td>
|
6
7
|
<%== lag_with_label details.lag %>
|
7
8
|
</td>
|
9
|
+
|
10
|
+
<td>
|
11
|
+
<%== lag_with_label details.lag_stored %>
|
12
|
+
</td>
|
13
|
+
|
8
14
|
<td>
|
9
15
|
<span class="badge <%= lag_trend_bg(details.lag_d) %>">
|
10
16
|
<%= details.lag_d %>
|
11
17
|
</span>
|
12
18
|
</td>
|
13
|
-
<td>
|
14
|
-
<%== lag_with_label details.lag_stored %>
|
15
|
-
</td>
|
16
19
|
<td>
|
17
20
|
<span class="badge <%= lag_trend_bg(details.lag_stored_d) %>">
|
18
21
|
<%= details.lag_stored_d %>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
<li class="nav-item">
|
16
16
|
<a
|
17
|
-
class="nav-link <%= nav_class(include: 'lags') %>"
|
17
|
+
class="nav-link <%= nav_class(include: '/lags') %>"
|
18
18
|
href="<%= root_path('health', 'lags') %>"
|
19
19
|
>
|
20
20
|
Lags
|
@@ -38,6 +38,16 @@
|
|
38
38
|
Changes
|
39
39
|
</a>
|
40
40
|
</li>
|
41
|
+
|
42
|
+
<li class="nav-item">
|
43
|
+
<a
|
44
|
+
class="nav-link <%= nav_class(include: 'cluster_lags') %>"
|
45
|
+
href="<%= root_path('health', 'cluster_lags') %>"
|
46
|
+
>
|
47
|
+
Cluster Lags
|
48
|
+
</a>
|
49
|
+
</li>
|
50
|
+
|
41
51
|
</ul>
|
42
52
|
|
43
53
|
</div>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%== view_title('Consumers
|
1
|
+
<%== view_title('Consumers Groups Changes Details') %>
|
2
|
+
|
3
|
+
<%== partial 'health/tabs' %>
|
2
4
|
|
3
5
|
<% if @stats.empty? %>
|
4
6
|
<%== partial 'health/no_data' %>
|
5
|
-
<% else %>
|
6
|
-
<%== partial 'health/tabs' %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% @stats.each_with_index do |(cg_name, details), index| %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<%== partial 'health/consumer_group_header', locals: { cg_name: cg_name, details: details } %>
|
12
12
|
|
13
13
|
<div class="row mb-3">
|
14
|
-
<div class="col-sm-12">
|
14
|
+
<div class="col-sm-12 table-responsive">
|
15
15
|
<% topics = details[:topics] %>
|
16
16
|
<% topics.each_with_index do |(topic_name, partitions), index| %>
|
17
17
|
<table class="processes bg-white table table-hover table-bordered table-striped align-middle <%= (index+1 < topics.size) ? 'mb-5' : 'mb-3' %>">
|
@@ -22,12 +22,17 @@
|
|
22
22
|
</th>
|
23
23
|
</tr>
|
24
24
|
<tr class="align-middle">
|
25
|
-
<th><%== sort_link('Partition', :id) %></th>
|
26
|
-
<th
|
27
|
-
<th
|
28
|
-
|
29
|
-
|
30
|
-
|
25
|
+
<th rowspan="2"><%== sort_link('Partition', :id) %></th>
|
26
|
+
<th colspan="4" class="text-center">Offsets changes</th>
|
27
|
+
<th rowspan="2">
|
28
|
+
<%== sort_link('Pause state change', :poll_state_ch) %>
|
29
|
+
</th>
|
30
|
+
</tr>
|
31
|
+
<tr class="align-middle">
|
32
|
+
<th><%== sort_link('Committed', :committed_offset_fd) %></th>
|
33
|
+
<th><%== sort_link('Stored', :stored_offset_fd) %></th>
|
34
|
+
<th><%== sort_link('High', :hi_offset_fd) %></th>
|
35
|
+
<th><%== sort_link('Last stable', :lso_risk_state) %></th>
|
31
36
|
</tr>
|
32
37
|
</thead>
|
33
38
|
<tbody>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<%== view_title('Consumers Groups Cluster Lags Details') %>
|
2
|
+
|
3
|
+
<%== partial 'health/tabs' %>
|
4
|
+
|
5
|
+
<% if @stats.empty? %>
|
6
|
+
<%== partial 'health/no_data' %>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<% @stats.each_with_index do |(cg_name, details), index| %>
|
10
|
+
<div class="container mb-5">
|
11
|
+
<div class="row mb-4">
|
12
|
+
<div class="col-sm-12">
|
13
|
+
<h4 class="mb-4"><%= cg_name %></h4>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="row mb-3">
|
18
|
+
<div class="col-sm-12 table-responsive">
|
19
|
+
<% details.each_with_index do |(topic_name, partitions), index| %>
|
20
|
+
<table class="processes bg-white table table-hover table-bordered table-striped align-middle <%= (index+1 < details.size) ? 'mb-5' : 'mb-3' %>">
|
21
|
+
<thead>
|
22
|
+
<tr class="align-middle">
|
23
|
+
<th colspan="12">
|
24
|
+
<h5 class="mb-0"><%= topic_name %></h4>
|
25
|
+
</th>
|
26
|
+
</tr>
|
27
|
+
<tr class="align-middle">
|
28
|
+
<th><%== sort_link('Partition', :id) %></th>
|
29
|
+
<th><%== sort_link(:lag) %></th>
|
30
|
+
<th><%== sort_link(:stored_offset) %></th>
|
31
|
+
</tr>
|
32
|
+
</thead>
|
33
|
+
<tbody>
|
34
|
+
<% partitions.each do |details| %>
|
35
|
+
<tr class="align-middle">
|
36
|
+
<td>
|
37
|
+
<%= details[:id] %>
|
38
|
+
</td>
|
39
|
+
<td>
|
40
|
+
<%== details[:lag] %>
|
41
|
+
</td>
|
42
|
+
<td>
|
43
|
+
<%== details[:stored_offset] %>
|
44
|
+
</td>
|
45
|
+
</tr>
|
46
|
+
|
47
|
+
<% end %>
|
48
|
+
</tbody>
|
49
|
+
</table>
|
50
|
+
<% end %>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
<% end %>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%== view_title('Consumers
|
1
|
+
<%== view_title('Consumers Groups Lags Details') %>
|
2
|
+
|
3
|
+
<%== partial 'health/tabs' %>
|
2
4
|
|
3
5
|
<% if @stats.empty? %>
|
4
6
|
<%== partial 'health/no_data' %>
|
5
|
-
<% else %>
|
6
|
-
<%== partial 'health/tabs' %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% @stats.each_with_index do |(cg_name, details), index| %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<%== partial 'health/consumer_group_header', locals: { cg_name: cg_name, details: details } %>
|
12
12
|
|
13
13
|
<div class="row mb-3">
|
14
|
-
<div class="col-sm-12">
|
14
|
+
<div class="col-sm-12 table-responsive">
|
15
15
|
<% topics = details[:topics] %>
|
16
16
|
<% topics.each_with_index do |(topic_name, partitions), index| %>
|
17
17
|
<table class="processes bg-white table table-hover table-bordered table-striped align-middle <%= (index+1 < topics.size) ? 'mb-5' : 'mb-3' %>">
|
@@ -22,12 +22,18 @@
|
|
22
22
|
</th>
|
23
23
|
</tr>
|
24
24
|
<tr class="align-middle">
|
25
|
-
<th><%== sort_link('Partition', :id) %></th>
|
26
|
-
<th
|
27
|
-
<th
|
28
|
-
<th
|
29
|
-
|
30
|
-
|
25
|
+
<th rowspan="2"><%== sort_link('Partition', :id) %></th>
|
26
|
+
<th colspan="2" class="text-center">Lags</th>
|
27
|
+
<th colspan="2" class="text-center">Trends</th>
|
28
|
+
<th colspan="12" rowspan="2">
|
29
|
+
<%== sort_link(:poll_state) %>
|
30
|
+
</th>
|
31
|
+
</tr>
|
32
|
+
<tr class="align-middle">
|
33
|
+
<th><%== sort_link(:lag) %></th>
|
34
|
+
<th><%== sort_link(:lag_stored) %></th>
|
35
|
+
<th><%== sort_link('Lag', :lag_d) %></th>
|
36
|
+
<th><%== sort_link('Lag stored', :lag_stored_d) %></th>
|
31
37
|
</tr>
|
32
38
|
</thead>
|
33
39
|
<tbody>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%== view_title('Consumers
|
1
|
+
<%== view_title('Consumers Groups Offsets Details') %>
|
2
|
+
|
3
|
+
<%== partial 'health/tabs' %>
|
2
4
|
|
3
5
|
<% if @stats.empty? %>
|
4
6
|
<%== partial 'health/no_data' %>
|
5
|
-
<% else %>
|
6
|
-
<%== partial 'health/tabs' %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% @stats.each_with_index do |(cg_name, details), index| %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<%== partial 'health/consumer_group_header', locals: { cg_name: cg_name, details: details } %>
|
12
12
|
|
13
13
|
<div class="row mb-3">
|
14
|
-
<div class="col-sm-12">
|
14
|
+
<div class="col-sm-12 table-responsive">
|
15
15
|
<% topics = details[:topics] %>
|
16
16
|
<% topics.each_with_index do |(topic_name, partitions), index| %>
|
17
17
|
<table class="processes bg-white table table-hover table-bordered table-striped align-middle <%= (index+1 < topics.size) ? 'mb-5' : 'mb-3' %>">
|
@@ -22,18 +22,21 @@
|
|
22
22
|
</th>
|
23
23
|
</tr>
|
24
24
|
<tr class="align-middle">
|
25
|
-
<th><%== sort_link('Partition', :id) %></th>
|
26
|
-
<th><%== sort_link(
|
25
|
+
<th rowspan="2"><%== sort_link('Partition', :id) %></th>
|
26
|
+
<th rowspan="2"><%== sort_link(:lag_hybrid) %></th>
|
27
|
+
<th colspan="10" class="text-center">Offsets</th>
|
28
|
+
</tr>
|
29
|
+
<tr class="align-middle">
|
27
30
|
<th><%== sort_link(:committed_offset) %></th>
|
28
|
-
<th><%== sort_link('Committed
|
31
|
+
<th><%== sort_link('Committed change', :committed_offset_fd) %></th>
|
29
32
|
<th><%== sort_link(:stored_offset) %></th>
|
30
|
-
<th><%== sort_link('Stored
|
31
|
-
<th><%== sort_link(
|
32
|
-
<th><%== sort_link(
|
33
|
-
<th><%== sort_link('High
|
34
|
-
<th><%== sort_link(
|
35
|
-
<th><%== sort_link('
|
36
|
-
<th><%== sort_link('
|
33
|
+
<th><%== sort_link('Stored change', :stored_offset_fd) %></th>
|
34
|
+
<th><%== sort_link(:lo_offset) %></th>
|
35
|
+
<th><%== sort_link(:hi_offset) %></th>
|
36
|
+
<th><%== sort_link('High change', :hi_offset_fd) %></th>
|
37
|
+
<th><%== sort_link(:ls_offset) %></th>
|
38
|
+
<th><%== sort_link('LSO change', :ls_offset_fd) %></th>
|
39
|
+
<th><%== sort_link('LSO state', :lso_risk_state) %></th>
|
37
40
|
</tr>
|
38
41
|
</thead>
|
39
42
|
<tbody>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%== view_title('Consumers
|
1
|
+
<%== view_title('Consumers Groups Overview') %>
|
2
|
+
|
3
|
+
<%== partial 'health/tabs' %>
|
2
4
|
|
3
5
|
<% if @stats.empty? %>
|
4
6
|
<%== partial 'health/no_data' %>
|
5
|
-
<% else %>
|
6
|
-
<%== partial 'health/tabs' %>
|
7
7
|
<% end %>
|
8
8
|
|
9
9
|
<% @stats.each_with_index do |(cg_name, details), index| %>
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<%== partial 'health/consumer_group_header', locals: { cg_name: cg_name, details: details } %>
|
12
12
|
|
13
13
|
<div class="row mb-3">
|
14
|
-
<div class="col-sm-12">
|
14
|
+
<div class="col-sm-12 table-responsive">
|
15
15
|
<% topics = details[:topics] %>
|
16
16
|
<% topics.each_with_index do |(topic_name, partitions), index| %>
|
17
17
|
<table class="processes bg-white table table-hover table-bordered table-striped align-middle <%= (index+1 < topics.size) ? 'mb-5' : 'mb-3' %>">
|
@@ -22,13 +22,27 @@
|
|
22
22
|
</th>
|
23
23
|
</tr>
|
24
24
|
<tr class="align-middle">
|
25
|
-
<th
|
26
|
-
|
27
|
-
|
25
|
+
<th colspan="1" rowspan="2">
|
26
|
+
<%== sort_link('Partition', :id) %>
|
27
|
+
</th>
|
28
|
+
<th colspan="1" rowspan="2">
|
29
|
+
<%== sort_link(:lag_hybrid) %>
|
30
|
+
</th>
|
31
|
+
<th colspan="1" rowspan="2">
|
32
|
+
<%== sort_link(:stored_offset) %>
|
33
|
+
</th>
|
34
|
+
<th colspan="3" rowspan="1" class="text-center">
|
35
|
+
States
|
36
|
+
</th>
|
37
|
+
|
38
|
+
<th colspan="1" rowspan="2">
|
39
|
+
<%== sort_link(:id) %>
|
40
|
+
</th>
|
41
|
+
</tr>
|
42
|
+
<tr class="align-middle">
|
28
43
|
<th><%== sort_link(:fetch_state) %></th>
|
29
44
|
<th><%== sort_link(:poll_state) %></th>
|
30
|
-
<th><%== sort_link(
|
31
|
-
<th><%== sort_link('Process name', :name) %></th>
|
45
|
+
<th><%== sort_link(:lso_risk_state) %></th>
|
32
46
|
</tr>
|
33
47
|
</thead>
|
34
48
|
<tbody>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%== view_title('Pending
|
1
|
+
<%== view_title('Pending Jobs Overview', hr: false) %>
|
2
2
|
|
3
3
|
<%== partial 'jobs/tabs' %>
|
4
4
|
|
@@ -9,19 +9,23 @@
|
|
9
9
|
<% else %>
|
10
10
|
<div class="container">
|
11
11
|
<div class="row mb-5">
|
12
|
-
<div class="col-sm-12">
|
12
|
+
<div class="col-sm-12 table-responsive">
|
13
13
|
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
14
14
|
<thead>
|
15
15
|
<tr class="align-middle">
|
16
|
-
<th><%== sort_link('Process', :name) %></th>
|
17
|
-
<th><%== sort_link(:topic) %></th>
|
18
|
-
<th><%== sort_link(:consumer) %></th>
|
19
|
-
<th><%== sort_link(:type) %></th>
|
20
|
-
<th><%== sort_link(:messages) %></th>
|
16
|
+
<th rowspan="2"><%== sort_link('Process', :name) %></th>
|
17
|
+
<th rowspan="2"><%== sort_link(:topic) %></th>
|
18
|
+
<th rowspan="2"><%== sort_link(:consumer) %></th>
|
19
|
+
<th rowspan="2"><%== sort_link(:type) %></th>
|
20
|
+
<th rowspan="2"><%== sort_link(:messages) %></th>
|
21
|
+
<th colspan="3" class="text-center">Offsets</th>
|
22
|
+
<th rowspan="2"><%== sort_link('Created', :updated_at, rev: true) %></th>
|
23
|
+
</tr>
|
24
|
+
|
25
|
+
<tr class="align-middle">
|
21
26
|
<th><%== sort_link(:first_offset) %></th>
|
22
27
|
<th><%== sort_link(:last_offset) %></th>
|
23
28
|
<th><%== sort_link(:committed_offset) %></th>
|
24
|
-
<th><%== sort_link('Created at', :updated_at, rev: true) %></th>
|
25
29
|
</tr>
|
26
30
|
</thead>
|
27
31
|
<tbody>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%== view_title('Running
|
1
|
+
<%== view_title('Running Jobs Overview', hr: false) %>
|
2
2
|
|
3
3
|
<%== partial 'jobs/tabs' %>
|
4
4
|
|
@@ -9,19 +9,23 @@
|
|
9
9
|
<% else %>
|
10
10
|
<div class="container">
|
11
11
|
<div class="row mb-5">
|
12
|
-
<div class="col-sm-12">
|
12
|
+
<div class="col-sm-12 table-responsive">
|
13
13
|
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
14
14
|
<thead>
|
15
15
|
<tr class="align-middle">
|
16
|
-
<th><%== sort_link('Process', :name) %></th>
|
17
|
-
<th><%== sort_link(:topic) %></th>
|
18
|
-
<th><%== sort_link(:consumer) %></th>
|
19
|
-
<th><%== sort_link(:type) %></th>
|
20
|
-
<th><%== sort_link(:messages) %></th>
|
16
|
+
<th rowspan="2"><%== sort_link('Process', :name) %></th>
|
17
|
+
<th rowspan="2"><%== sort_link(:topic) %></th>
|
18
|
+
<th rowspan="2"><%== sort_link(:consumer) %></th>
|
19
|
+
<th rowspan="2"><%== sort_link(:type) %></th>
|
20
|
+
<th rowspan="2"><%== sort_link(:messages) %></th>
|
21
|
+
<th colspan="3" class="text-center">Offsets</th>
|
22
|
+
<th rowspan="2"><%== sort_link('Started', :updated_at, rev: true) %></th>
|
23
|
+
</tr>
|
24
|
+
|
25
|
+
<tr class="align-middle">
|
21
26
|
<th><%== sort_link(:first_offset) %></th>
|
22
27
|
<th><%== sort_link(:last_offset) %></th>
|
23
28
|
<th><%== sort_link(:committed_offset) %></th>
|
24
|
-
<th><%== sort_link('Started at', :updated_at, rev: true) %></th>
|
25
29
|
</tr>
|
26
30
|
</thead>
|
27
31
|
<tbody>
|
@@ -8,14 +8,14 @@
|
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<div class="row mb-5">
|
11
|
-
<div class="col-sm-12">
|
11
|
+
<div class="col-sm-12 table-responsive">
|
12
12
|
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
13
13
|
<thead>
|
14
14
|
<tr class="align-middle">
|
15
15
|
<th>Subscription group</th>
|
16
16
|
<th><%== sort_link('Topic', :name) %></th>
|
17
17
|
<th>Type</th>
|
18
|
-
<th><%== sort_link(
|
18
|
+
<th><%== sort_link(:active?) %></th>
|
19
19
|
<th></th>
|
20
20
|
</tr>
|
21
21
|
</thead>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<div class="container">
|
7
7
|
<div class="row mb-5">
|
8
|
-
<div class="col-sm-12">
|
8
|
+
<div class="col-sm-12 table-responsive">
|
9
9
|
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
10
10
|
<tbody>
|
11
11
|
<% flat_hash(@topic.to_h).each do |k, v| %>
|
@@ -9,11 +9,13 @@
|
|
9
9
|
Dashboard
|
10
10
|
</a>
|
11
11
|
</li>
|
12
|
+
|
12
13
|
<li class="nav-item ms-3">
|
13
14
|
<a class="nav-link <%= nav_class(start_with: '/consumers') %>" href="<%= root_path('consumers') %>">
|
14
15
|
Consumers
|
15
16
|
</a>
|
16
17
|
</li>
|
18
|
+
|
17
19
|
<li class="nav-item ms-3">
|
18
20
|
<a class="nav-link <%= nav_class(start_with: '/jobs') %>" href="<%= root_path('jobs/running') %>">
|
19
21
|
Jobs
|
@@ -25,31 +27,43 @@
|
|
25
27
|
Health
|
26
28
|
</a>
|
27
29
|
</li>
|
30
|
+
|
28
31
|
<li class="nav-item ms-3">
|
29
32
|
<a class="nav-link <%= nav_class(start_with: '/routing') %>" href="<%= root_path('routing') %>">
|
30
33
|
Routing
|
31
34
|
</a>
|
32
35
|
</li>
|
36
|
+
|
33
37
|
<li class="nav-item ms-3">
|
34
38
|
<a class="nav-link <%= nav_class(start_with: '/explorer') %>" href="<%= root_path('explorer') %>">
|
35
39
|
Explorer
|
36
40
|
</a>
|
37
41
|
</li>
|
42
|
+
|
38
43
|
<li class="nav-item ms-3">
|
39
44
|
<a class="nav-link <%= nav_class(start_with: '/errors') %>" href="<%= root_path('errors') %>">
|
40
45
|
Errors
|
41
46
|
</a>
|
42
47
|
</li>
|
48
|
+
|
43
49
|
<li class="nav-item ms-3">
|
44
50
|
<a class="nav-link <%= nav_class(start_with: '/dlq') %>" href="<%= root_path('dlq') %>">
|
45
51
|
Dead
|
46
52
|
</a>
|
47
53
|
</li>
|
54
|
+
|
48
55
|
<li class="nav-item ms-3">
|
49
56
|
<a class="nav-link <%= nav_class(start_with: '/cluster') %>" href="<%= root_path('cluster') %>">
|
50
57
|
Cluster
|
51
58
|
</a>
|
52
59
|
</li>
|
60
|
+
|
61
|
+
<li class="nav-item ms-3">
|
62
|
+
<a class="nav-link <%= nav_class(start_with: '/topics') %>" href="<%= root_path('topics') %>">
|
63
|
+
Topics
|
64
|
+
</a>
|
65
|
+
</li>
|
66
|
+
|
53
67
|
<li class="nav-item ms-3">
|
54
68
|
<a class="nav-link <%= nav_class(start_with: '/status') %>" href="<%= root_path('status') %>">
|
55
69
|
Status
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<li class="breadcrumb-item">
|
2
|
+
<a href="<%= root_path('topics') %>">
|
3
|
+
Topics informations
|
4
|
+
</a>
|
5
|
+
</li>
|
6
|
+
|
7
|
+
<% if @topic %>
|
8
|
+
<li class="breadcrumb-item">
|
9
|
+
<a href="<%= root_path('topics', 'config', @topic.topic_name) %>">
|
10
|
+
<%= @topic.topic_name %>
|
11
|
+
</a>
|
12
|
+
</li>
|
13
|
+
<% end %>
|
14
|
+
|
15
|
+
<% if @configs %>
|
16
|
+
<li class="breadcrumb-item">
|
17
|
+
<a href="<%= root_path('topics', 'config', @topic.topic_name) %>">
|
18
|
+
Configuration
|
19
|
+
</a>
|
20
|
+
</li>
|
21
|
+
<% end %>
|
22
|
+
|
23
|
+
<% if @partitions %>
|
24
|
+
<li class="breadcrumb-item">
|
25
|
+
<a href="<%= root_path('topics', 'replication', @topic.topic_name) %>">
|
26
|
+
Replication
|
27
|
+
</a>
|
28
|
+
</li>
|
29
|
+
<% end %>
|
30
|
+
|
31
|
+
<% if @distribution %>
|
32
|
+
<li class="breadcrumb-item">
|
33
|
+
<a href="<%= root_path('topics', 'distribution', @topic.topic_name) %>">
|
34
|
+
Distribution
|
35
|
+
</a>
|
36
|
+
</li>
|
37
|
+
<% end %>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<tr>
|
2
|
+
<td>
|
3
|
+
<a href="<%= explorer_path(@topic[:topic_name], partition[:partition_id]) %>">
|
4
|
+
<%= partition[:partition_id] %>
|
5
|
+
</a>
|
6
|
+
</td>
|
7
|
+
<td>
|
8
|
+
<%= partition[:leader] %>
|
9
|
+
</td>
|
10
|
+
<td>
|
11
|
+
<%= partition[:replica_count] %>
|
12
|
+
</td>
|
13
|
+
<td>
|
14
|
+
<%= partition[:in_sync_replica_brokers] %>
|
15
|
+
</td>
|
16
|
+
</tr>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<div class="container">
|
2
|
+
<div class="row mb-5">
|
3
|
+
<div class="col-sm-12">
|
4
|
+
|
5
|
+
<ul class="nav nav-tabs">
|
6
|
+
<li class="nav-item">
|
7
|
+
<a
|
8
|
+
class="nav-link <%= nav_class(include: 'config') %>"
|
9
|
+
href="<%= root_path('topics', 'config', @topic.topic_name) %>"
|
10
|
+
>
|
11
|
+
Configuration
|
12
|
+
</a>
|
13
|
+
</li>
|
14
|
+
|
15
|
+
<li class="nav-item">
|
16
|
+
<a
|
17
|
+
class="nav-link <%= nav_class(include: 'replication') %>"
|
18
|
+
href="<%= root_path('topics', 'replication', @topic.topic_name) %>"
|
19
|
+
>
|
20
|
+
Replication
|
21
|
+
</a>
|
22
|
+
</li>
|
23
|
+
|
24
|
+
<li class="nav-item">
|
25
|
+
<a
|
26
|
+
class="nav-link <%= nav_class(include: 'distribution') %>"
|
27
|
+
href="<%= root_path('topics', 'distribution', @topic.topic_name) %>"
|
28
|
+
>
|
29
|
+
Distribution
|
30
|
+
</a>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
</ul>
|
34
|
+
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div class="col">
|
2
|
+
<div class="card" >
|
3
|
+
<div class="card-body p-2">
|
4
|
+
<p class="card-text mb-0 p-2">
|
5
|
+
<a href="<%= root_path('topics', 'config', topic.topic_name) %>">
|
6
|
+
<%= topic.topic_name %> /
|
7
|
+
<%= topic.partition_count %>
|
8
|
+
</a>
|
9
|
+
</p>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</div>
|