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
@@ -0,0 +1,57 @@
|
|
1
|
+
class TabsManager {
|
2
|
+
constructor() {
|
3
|
+
this.storageKey = 'karafkaActiveTabs';
|
4
|
+
}
|
5
|
+
|
6
|
+
// Reads the active tabs from local storage
|
7
|
+
readAllActiveTabs() {
|
8
|
+
const rawActiveTabs = localStorage.getItem(this.storageKey);
|
9
|
+
return rawActiveTabs ? JSON.parse(rawActiveTabs) : {};
|
10
|
+
}
|
11
|
+
|
12
|
+
// Saves the active tabs to local storage
|
13
|
+
saveAllActiveTabs(data) {
|
14
|
+
localStorage.setItem(this.storageKey, JSON.stringify(data));
|
15
|
+
}
|
16
|
+
|
17
|
+
// Saves the current state of active tabs
|
18
|
+
saveCurrentActiveTabs() {
|
19
|
+
const activeTabs = document.querySelectorAll('.tab-content > .active');
|
20
|
+
const url = window.location.href.split('?')[0];
|
21
|
+
let currentActiveTabs = [];
|
22
|
+
let allTabs = this.readAllActiveTabs();
|
23
|
+
|
24
|
+
activeTabs.forEach(activeTab => {
|
25
|
+
currentActiveTabs.push(activeTab.id);
|
26
|
+
});
|
27
|
+
|
28
|
+
allTabs[url] = currentActiveTabs;
|
29
|
+
this.saveAllActiveTabs(allTabs);
|
30
|
+
}
|
31
|
+
|
32
|
+
// Sets the active tabs based on stored data
|
33
|
+
setActiveTabs() {
|
34
|
+
const url = window.location.href.split('?')[0];
|
35
|
+
const allTabs = this.readAllActiveTabs();
|
36
|
+
const activeTabs = allTabs[url];
|
37
|
+
|
38
|
+
if (!activeTabs) return;
|
39
|
+
|
40
|
+
activeTabs.forEach(activeTabId => {
|
41
|
+
const tabElement = document.getElementById(activeTabId + '-tab');
|
42
|
+
if (tabElement) {
|
43
|
+
const bsTab = new bootstrap.Tab(tabElement);
|
44
|
+
bsTab.show();
|
45
|
+
}
|
46
|
+
});
|
47
|
+
}
|
48
|
+
|
49
|
+
// Initializes tab management and event listeners
|
50
|
+
manageTabs() {
|
51
|
+
this.setActiveTabs();
|
52
|
+
|
53
|
+
document.addEventListener('shown.bs.tab', (event) => {
|
54
|
+
this.saveCurrentActiveTabs();
|
55
|
+
});
|
56
|
+
}
|
57
|
+
}
|
@@ -11,10 +11,6 @@ body {
|
|
11
11
|
display: none;
|
12
12
|
}
|
13
13
|
|
14
|
-
.container {
|
15
|
-
max-width: 1170px;
|
16
|
-
}
|
17
|
-
|
18
14
|
.navbar {
|
19
15
|
background-color: #4051b5;
|
20
16
|
}
|
@@ -100,8 +96,8 @@ code.wrapped {
|
|
100
96
|
white-space: pre-wrap;
|
101
97
|
}
|
102
98
|
|
103
|
-
|
104
|
-
color: inherit;
|
99
|
+
.counters a {
|
100
|
+
color: inherit !important;
|
105
101
|
}
|
106
102
|
|
107
103
|
#content .error-message {
|
@@ -127,3 +123,8 @@ main {
|
|
127
123
|
a.sort {
|
128
124
|
color: inherit;
|
129
125
|
}
|
126
|
+
|
127
|
+
.wrap-text {
|
128
|
+
word-wrap: break-word;
|
129
|
+
word-break: break-word;
|
130
|
+
}
|
@@ -12,10 +12,10 @@
|
|
12
12
|
</li>
|
13
13
|
<% end %>
|
14
14
|
|
15
|
-
<% if current_path.include?('/
|
15
|
+
<% if current_path.include?('/replication') %>
|
16
16
|
<li class="breadcrumb-item">
|
17
|
-
<a href="<%= root_path('cluster', '
|
18
|
-
|
17
|
+
<a href="<%= root_path('cluster', 'replication') %>">
|
18
|
+
Replication
|
19
19
|
</a>
|
20
20
|
</li>
|
21
21
|
<% end %>
|
@@ -14,10 +14,10 @@
|
|
14
14
|
|
15
15
|
<li class="nav-item">
|
16
16
|
<a
|
17
|
-
class="nav-link <%= nav_class(include: '
|
18
|
-
href="<%= root_path('cluster', '
|
17
|
+
class="nav-link <%= nav_class(include: 'replication') %>"
|
18
|
+
href="<%= root_path('cluster', 'replication') %>"
|
19
19
|
>
|
20
|
-
|
20
|
+
Replication
|
21
21
|
</a>
|
22
22
|
</li>
|
23
23
|
</ul>
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<%== view_title('Cluster
|
1
|
+
<%== view_title('Cluster Informations', hr: true) %>
|
2
2
|
|
3
3
|
<%== partial 'cluster/tabs' %>
|
4
4
|
|
5
5
|
<div class="container mb-5">
|
6
6
|
<div class="row">
|
7
|
-
<div class="col-lg-12">
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
7
|
+
<div class="col-lg-12 table-responsive">
|
8
|
+
<table class="processes bg-white table table-hover table-bordered table-striped">
|
9
|
+
<thead>
|
10
|
+
<tr class="align-middle">
|
11
|
+
<th><%== sort_link(:id) %></th>
|
12
|
+
<th><%== sort_link(:name) %></th>
|
13
|
+
<th><%== sort_link(:port) %></th>
|
14
|
+
</tr>
|
15
|
+
</thead>
|
16
|
+
<tbody>
|
17
|
+
<%==
|
18
|
+
each_partial(
|
19
|
+
@brokers,
|
20
|
+
'cluster/broker'
|
21
|
+
)
|
22
|
+
%>
|
23
|
+
</tbody>
|
24
|
+
</table>
|
25
25
|
</div>
|
26
26
|
</div>
|
27
27
|
</div>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<%== view_title('Cluster Informations') %>
|
2
|
+
|
3
|
+
<%== partial 'cluster/tabs' %>
|
4
|
+
|
5
|
+
<div class="container mb-5">
|
6
|
+
<div class="row">
|
7
|
+
<div class="col-lg-12">
|
8
|
+
<% if @partitions.empty? && params.current_page <= 1 %>
|
9
|
+
<%== partial 'cluster/no_partitions' %>
|
10
|
+
<% elsif @partitions.empty? %>
|
11
|
+
<%== partial 'shared/no_paginated_data' %>
|
12
|
+
<% else %>
|
13
|
+
<div class="table-responsive">
|
14
|
+
<table class="processes bg-white table table-hover table-bordered table-striped">
|
15
|
+
<thead>
|
16
|
+
<tr class="align-middle">
|
17
|
+
<th><%== sort_link(:topic_name) %></th>
|
18
|
+
<th><%== sort_link(:partition_id) %></th>
|
19
|
+
<th><%== sort_link(:leader) %></th>
|
20
|
+
<th><%== sort_link(:replica_count) %></th>
|
21
|
+
<th><%== sort_link('In sync brokers', :in_sync_replica_brokers) %></th>
|
22
|
+
</tr>
|
23
|
+
</thead>
|
24
|
+
<tbody>
|
25
|
+
<%==
|
26
|
+
each_partial(
|
27
|
+
@partitions,
|
28
|
+
'cluster/partition'
|
29
|
+
)
|
30
|
+
%>
|
31
|
+
</tbody>
|
32
|
+
</table>
|
33
|
+
</div>
|
34
|
+
<% end %>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<% process.consumer_groups.each do |consumer_group| %>
|
2
|
+
<% sg_topics = Hash.new { |h, k| h[k] = [] } %>
|
3
|
+
|
4
|
+
<% consumer_group.subscription_groups.each do |subscription_group| %>
|
5
|
+
<% subscription_group.topics.each do |topic| %>
|
6
|
+
<% sg_topics[topic.name] += topic.partitions.map(&:id) %>
|
7
|
+
<% end %>
|
8
|
+
<% end %>
|
9
|
+
|
10
|
+
<% sg_topics.each do |topic_name, partitions| %>
|
11
|
+
<% partitions_list = partitions.join(', ') %>
|
12
|
+
<span
|
13
|
+
class="badge bg-secondary badge-topic"
|
14
|
+
title="Consumer group: <%= consumer_group.id %>, partitions: <%= partitions_list%>"
|
15
|
+
>
|
16
|
+
<%= topic_name %>:
|
17
|
+
<% if partitions.size > 10 %>
|
18
|
+
<%= "#{partitions.sort.first(10).join(',')}..." %>
|
19
|
+
<% else %>
|
20
|
+
<%= partitions.sort.join(',') %>
|
21
|
+
<% end %>
|
22
|
+
</span>
|
23
|
+
<% end %>
|
24
|
+
<% end %>
|
@@ -5,24 +5,11 @@
|
|
5
5
|
</div>
|
6
6
|
|
7
7
|
<a href="<%= root_path('consumers', process.id, 'subscriptions') %>">
|
8
|
-
|
8
|
+
<%== truncate(process.id, strategy: :middle) %>
|
9
9
|
</a>
|
10
10
|
|
11
11
|
<p class="mt-0 mb-1">
|
12
|
-
|
13
|
-
<% consumer_group.subscription_groups.each do |subscription_group| %>
|
14
|
-
<% subscription_group.topics.each do |topic| %>
|
15
|
-
<span class="badge bg-secondary badge-topic" title="Consumer group: <%= consumer_group.id %>">
|
16
|
-
<%= topic.name %>:
|
17
|
-
<% if topic.partitions.size > 10 %>
|
18
|
-
<%= "#{topic.partitions.first(10).map(&:id).join(',')}..." %>
|
19
|
-
<% else %>
|
20
|
-
<%= topic.partitions.map(&:id).join(',') %>
|
21
|
-
<% end %>
|
22
|
-
</span>
|
23
|
-
<% end %>
|
24
|
-
<% end %>
|
25
|
-
<% end %>
|
12
|
+
<%== partial 'consumers/assignments_badges', locals: { process: process } %>
|
26
13
|
</p>
|
27
14
|
|
28
15
|
<p class="mt-0 mb-1">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div id="summary" class="container text-center mb-5">
|
2
2
|
<div class="row">
|
3
3
|
|
4
|
-
<div class="col-lg-2 offset-md-
|
4
|
+
<div class="col-lg-2 offset-lg-1 col-md-4 col-sm-6">
|
5
5
|
<div class="card mb-0">
|
6
6
|
<div class="card-body">
|
7
7
|
<p class="card-text">
|
@@ -16,7 +16,7 @@
|
|
16
16
|
</div>
|
17
17
|
</div>
|
18
18
|
|
19
|
-
<div class="col-lg-2">
|
19
|
+
<div class="col-lg-2 col-md-4 col-sm-6">
|
20
20
|
<div class="card mb-0">
|
21
21
|
<div class="card-body">
|
22
22
|
<p class="card-text">
|
@@ -31,7 +31,7 @@
|
|
31
31
|
</div>
|
32
32
|
</div>
|
33
33
|
|
34
|
-
<div class="col-lg-2">
|
34
|
+
<div class="col-lg-2 col-md-4 col-sm-6 mt-sm-4 offset-lg-0 mt-lg-0 mt-md-0">
|
35
35
|
<div class="card mb-0">
|
36
36
|
<div class="card-body">
|
37
37
|
<p class="card-text">
|
@@ -46,7 +46,7 @@
|
|
46
46
|
</div>
|
47
47
|
</div>
|
48
48
|
|
49
|
-
<div class="col-lg-2">
|
49
|
+
<div class="col-lg-2 col-md-4 mt-md-4 col-sm-6 offset-md-2 mt-sm-4 offset-lg-0 mt-lg-0 mt-md-0">
|
50
50
|
<div class="card mb-0">
|
51
51
|
<div class="card-body">
|
52
52
|
<p class="card-text">
|
@@ -62,7 +62,7 @@
|
|
62
62
|
</div>
|
63
63
|
</div>
|
64
64
|
|
65
|
-
<div class="col-lg-2">
|
65
|
+
<div class="col-lg-2 col-md-4 mt-md-4 col-sm-6 mt-sm-4 offset-sm-3 offset-lg-0 mt-lg-0 mt-md-0 offset-md-0">
|
66
66
|
<div class="card mb-0">
|
67
67
|
<div class="card-body">
|
68
68
|
<p class="card-text">
|
@@ -9,26 +9,28 @@
|
|
9
9
|
<% elsif @processes.empty? %>
|
10
10
|
<%== partial 'shared/no_paginated_data' %>
|
11
11
|
<% else %>
|
12
|
-
<
|
13
|
-
<
|
14
|
-
<
|
15
|
-
<
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
12
|
+
<div class="table-responsive">
|
13
|
+
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
14
|
+
<thead>
|
15
|
+
<tr class="align-middle">
|
16
|
+
<th><%== sort_link(:id) %></th>
|
17
|
+
<th class="col-sm-2"><%== sort_link(:started_at, rev: true) %></th>
|
18
|
+
<th class="col-sm-1">Memory</th>
|
19
|
+
<th class="col-sm-1">Utilization</th>
|
20
|
+
<th class="col-sm-1"><%== sort_link(:lag_hybrid) %></th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<%==
|
25
|
+
render_each(
|
26
|
+
@processes,
|
27
|
+
'consumers/_consumer',
|
28
|
+
local: :process
|
29
|
+
)
|
30
|
+
%>
|
31
|
+
</tbody>
|
32
|
+
</table>
|
33
|
+
</div>
|
32
34
|
<% end %>
|
33
35
|
</div>
|
34
36
|
</div>
|
@@ -31,30 +31,30 @@
|
|
31
31
|
<div class="tab-content">
|
32
32
|
<div class="tab-pane show active" id="messages" role="tabpanel">
|
33
33
|
<% data = @aggregated_charts.with(:messages, :errors) %>
|
34
|
-
<%== partial 'shared/
|
34
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'messages' } %>
|
35
35
|
</div>
|
36
36
|
|
37
37
|
<div class="tab-pane" id="batches" role="tabpanel">
|
38
38
|
<% data = @aggregated_charts.with(:batches, :errors, :dead, :retries) %>
|
39
|
-
<%== partial 'shared/
|
39
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'batches' } %>
|
40
40
|
</div>
|
41
41
|
|
42
42
|
<div class="tab-pane" id="topics-lags" role="tabpanel">
|
43
43
|
<%== partial 'dashboard/feature_pro' %>
|
44
44
|
<% data = { enqueued: set.call, busy: set.call }.to_json %>
|
45
|
-
<%== partial 'shared/
|
45
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'topics-lags', blurred: true } %>
|
46
46
|
</div>
|
47
47
|
|
48
48
|
<div class="tab-pane" id="topics-pace" role="tabpanel">
|
49
49
|
<%== partial 'dashboard/feature_pro' %>
|
50
50
|
<% data = { topic1: set.call(20), topic2: set.call(10), topic3: set.call(100) }.to_json %>
|
51
|
-
<%== partial 'shared/
|
51
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'topics-pace', blurred: true } %>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
<div class="tab-pane" id="max-lso-time" role="tabpanel">
|
55
55
|
<%== partial 'dashboard/feature_pro' %>
|
56
56
|
<% data = { max_lso: set.call(2, 0..5) }.to_json %>
|
57
|
-
<%== partial 'shared/
|
57
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'max-lso-time', blurred: true } %>
|
58
58
|
</div>
|
59
59
|
</div>
|
60
60
|
</div>
|
@@ -78,24 +78,24 @@
|
|
78
78
|
<div class="tab-content">
|
79
79
|
<div class="tab-pane show active" id="utilization" role="tabpanel">
|
80
80
|
<% data = @aggregated_charts.with(:utilization) %>
|
81
|
-
<%== partial 'shared/
|
81
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'utilization', label_type_y: 'percentage' } %>
|
82
82
|
</div>
|
83
83
|
|
84
84
|
<div class="tab-pane show" id="rss" role="tabpanel">
|
85
85
|
<%== partial 'dashboard/feature_pro' %>
|
86
86
|
<% data = { rss: set.call(1_050), process_rss: set.call(1_000) }.to_json %>
|
87
|
-
<%== partial 'shared/
|
87
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'rss', blurred: true } %>
|
88
88
|
</div>
|
89
89
|
|
90
90
|
<div class="tab-pane show" id="concurrency" role="tabpanel">
|
91
91
|
<% data = @aggregated_charts.with(:processes, :workers, :active_listeners, :standby_listeners) %>
|
92
|
-
<%== partial 'shared/
|
92
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'concurrency' } %>
|
93
93
|
</div>
|
94
94
|
|
95
95
|
<div class="tab-pane show" id="data-transfers" role="tabpanel">
|
96
96
|
<%== partial 'dashboard/feature_pro' %>
|
97
97
|
<% data = { bytes_received: set.call(4, 10..15), bytes_sent: set.call(2, 0..5) }.to_json %>
|
98
|
-
<%== partial 'shared/
|
98
|
+
<%== partial 'shared/charts/line', locals: { data: data, id: 'data-transfers', blurred: true } %>
|
99
99
|
</div>
|
100
100
|
</div>
|
101
101
|
</div>
|
@@ -1,9 +1,5 @@
|
|
1
1
|
<% if error_msg.is_a?(Array) %>
|
2
|
-
|
3
|
-
<td colspan="5" class="text-center text-muted">
|
4
|
-
This offset does not contain error data. The message may have been compacted or is a system entry.
|
5
|
-
</td>
|
6
|
-
</tr>
|
2
|
+
<%== partial 'shared/not_a_message' %>
|
7
3
|
<% else %>
|
8
4
|
<% error = error_msg.payload %>
|
9
5
|
|
@@ -18,7 +14,7 @@
|
|
18
14
|
</span>
|
19
15
|
</td>
|
20
16
|
<td>
|
21
|
-
<%== error[:process][:
|
17
|
+
<%== error[:process][:id] %>
|
22
18
|
</td>
|
23
19
|
<td>
|
24
20
|
<%= error[:error_class] %>:
|
@@ -20,26 +20,28 @@
|
|
20
20
|
<% elsif @watermark_offsets.cleaned? %>
|
21
21
|
<%== partial 'errors/cleaned' %>
|
22
22
|
<% else %>
|
23
|
-
<
|
24
|
-
<
|
25
|
-
<
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
23
|
+
<div class="table-responsive">
|
24
|
+
<table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
|
25
|
+
<thead>
|
26
|
+
<tr class="align-middle">
|
27
|
+
<th>Origin</th>
|
28
|
+
<th>ID</th>
|
29
|
+
<th>Error</th>
|
30
|
+
<th>Occurred</th>
|
31
|
+
<th></th>
|
32
|
+
</tr>
|
33
|
+
</thead>
|
34
|
+
<tbody>
|
35
|
+
<%==
|
36
|
+
each_partial(
|
37
|
+
@error_messages,
|
38
|
+
'errors/error',
|
39
|
+
local: :error_msg
|
40
|
+
)
|
41
|
+
%>
|
42
|
+
</tbody>
|
43
|
+
</table>
|
44
|
+
</div>
|
43
45
|
<% end %>
|
44
46
|
</div>
|
45
47
|
</div>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<tr>
|
2
2
|
<td>
|
3
3
|
<a href="<%= root_path('consumers', job.process.id, 'subscriptions') %>">
|
4
|
-
|
4
|
+
<%== truncate(job.process.id, strategy: :middle) %>
|
5
5
|
</a>
|
6
6
|
</td>
|
7
7
|
<td>
|
@@ -21,6 +21,9 @@
|
|
21
21
|
<td>
|
22
22
|
<code>#<%= job.type %></code>
|
23
23
|
</td>
|
24
|
+
<td>
|
25
|
+
<%== offset_with_label job.topic, job.partition, job.first_offset %>
|
26
|
+
</td>
|
24
27
|
<td>
|
25
28
|
<%== relative_time job.updated_at %>
|
26
29
|
</td>
|
@@ -1,9 +1,7 @@
|
|
1
1
|
<div class="container mb-4">
|
2
2
|
<div class="row">
|
3
3
|
<div class="col-lg-12">
|
4
|
-
|
5
|
-
There are no <%= type %> jobs at the moment.
|
6
|
-
</div>
|
4
|
+
<%== alert_info("There are no #{type} jobs at the moment.") %>
|
7
5
|
</div>
|
8
6
|
</div>
|
9
7
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%== view_title('Pending
|
1
|
+
<%== view_title('Pending Jobs', hr: false) %>
|
2
2
|
|
3
3
|
<%== partial 'jobs/tabs' %>
|
4
4
|
|
@@ -9,7 +9,7 @@
|
|
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">
|
@@ -17,7 +17,8 @@
|
|
17
17
|
<th><%== sort_link(:topic) %></th>
|
18
18
|
<th><%== sort_link(:consumer) %></th>
|
19
19
|
<th><%== sort_link(:type) %></th>
|
20
|
-
<th><%== sort_link(
|
20
|
+
<th><%== sort_link(:first_offset) %></th>
|
21
|
+
<th><%== sort_link('Created', :updated_at, rev: true) %></th>
|
21
22
|
</tr>
|
22
23
|
</thead>
|
23
24
|
<tbody>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%== view_title('Running
|
1
|
+
<%== view_title('Running Jobs', hr: false) %>
|
2
2
|
|
3
3
|
<%== partial 'jobs/tabs' %>
|
4
4
|
|
@@ -9,7 +9,7 @@
|
|
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">
|
@@ -17,7 +17,8 @@
|
|
17
17
|
<th><%== sort_link(:topic) %></th>
|
18
18
|
<th><%== sort_link(:consumer) %></th>
|
19
19
|
<th><%== sort_link(:type) %></th>
|
20
|
-
<th><%== sort_link(
|
20
|
+
<th><%== sort_link(:first_offset) %></th>
|
21
|
+
<th><%== sort_link('Started', :updated_at, rev: true) %></th>
|
21
22
|
</tr>
|
22
23
|
</thead>
|
23
24
|
<tbody>
|
@@ -8,13 +8,13 @@
|
|
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
|
-
<th><%== sort_link(
|
17
|
+
<th><%== sort_link(:active?) %></th>
|
18
18
|
<th></th>
|
19
19
|
</tr>
|
20
20
|
</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| %>
|
@@ -3,9 +3,9 @@
|
|
3
3
|
<div class="mb-4">
|
4
4
|
<div class="container">
|
5
5
|
<div class="alert alert-light">
|
6
|
-
|
7
|
-
<a target="_blank" href="https://karafka.io/#become-pro">Pro</a>
|
8
|
-
|
6
|
+
💡
|
7
|
+
<% linked = '<a target="_blank" href="https://karafka.io/#become-pro">Pro</a>' %>
|
8
|
+
<%== Karafka::Web.slogans.sample.gsub('Pro', linked) %>
|
9
9
|
</div>
|
10
10
|
</div>
|
11
11
|
</div>
|