kafka_command 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. checksums.yaml +7 -0
  2. data/.circleci/config.yml +179 -0
  3. data/.env +1 -0
  4. data/.env.test +1 -0
  5. data/.gitignore +41 -0
  6. data/.rspec +1 -0
  7. data/.rubocop.yml +12 -0
  8. data/.ruby-version +1 -0
  9. data/Gemfile +17 -0
  10. data/Gemfile.lock +194 -0
  11. data/LICENSE +21 -0
  12. data/README.md +138 -0
  13. data/Rakefile +34 -0
  14. data/app/assets/config/manifest.js +3 -0
  15. data/app/assets/images/.keep +0 -0
  16. data/app/assets/images/kafka_command/cluster_view.png +0 -0
  17. data/app/assets/images/kafka_command/kafka.png +0 -0
  18. data/app/assets/images/kafka_command/topic_view.png +0 -0
  19. data/app/assets/javascripts/kafka_command/application.js +14 -0
  20. data/app/assets/stylesheets/kafka_command/application.css +27 -0
  21. data/app/assets/stylesheets/kafka_command/clusters.css +8 -0
  22. data/app/assets/stylesheets/kafka_command/topics.css +3 -0
  23. data/app/channels/application_cable/channel.rb +6 -0
  24. data/app/channels/application_cable/connection.rb +6 -0
  25. data/app/controllers/kafka_command/application_controller.rb +96 -0
  26. data/app/controllers/kafka_command/brokers_controller.rb +26 -0
  27. data/app/controllers/kafka_command/clusters_controller.rb +46 -0
  28. data/app/controllers/kafka_command/consumer_groups_controller.rb +44 -0
  29. data/app/controllers/kafka_command/topics_controller.rb +187 -0
  30. data/app/helpers/kafka_command/application_helper.rb +29 -0
  31. data/app/helpers/kafka_command/consumer_group_helper.rb +13 -0
  32. data/app/jobs/application_job.rb +6 -0
  33. data/app/mailers/application_mailer.rb +8 -0
  34. data/app/models/kafka_command/broker.rb +47 -0
  35. data/app/models/kafka_command/client.rb +102 -0
  36. data/app/models/kafka_command/cluster.rb +172 -0
  37. data/app/models/kafka_command/consumer_group.rb +142 -0
  38. data/app/models/kafka_command/consumer_group_partition.rb +23 -0
  39. data/app/models/kafka_command/group_member.rb +18 -0
  40. data/app/models/kafka_command/partition.rb +36 -0
  41. data/app/models/kafka_command/topic.rb +153 -0
  42. data/app/views/kafka_command/brokers/index.html.erb +38 -0
  43. data/app/views/kafka_command/clusters/_tabs.html.erb +9 -0
  44. data/app/views/kafka_command/clusters/index.html.erb +54 -0
  45. data/app/views/kafka_command/clusters/new.html.erb +115 -0
  46. data/app/views/kafka_command/configuration_error.html.erb +1 -0
  47. data/app/views/kafka_command/consumer_groups/index.html.erb +32 -0
  48. data/app/views/kafka_command/consumer_groups/show.html.erb +115 -0
  49. data/app/views/kafka_command/shared/_alert.html.erb +13 -0
  50. data/app/views/kafka_command/shared/_search_bar.html.erb +31 -0
  51. data/app/views/kafka_command/shared/_title.html.erb +6 -0
  52. data/app/views/kafka_command/topics/_form_fields.html.erb +49 -0
  53. data/app/views/kafka_command/topics/edit.html.erb +17 -0
  54. data/app/views/kafka_command/topics/index.html.erb +46 -0
  55. data/app/views/kafka_command/topics/new.html.erb +36 -0
  56. data/app/views/kafka_command/topics/show.html.erb +126 -0
  57. data/app/views/layouts/kafka_command/application.html.erb +50 -0
  58. data/bin/rails +16 -0
  59. data/config/initializers/kafka.rb +13 -0
  60. data/config/initializers/kafka_command.rb +11 -0
  61. data/config/routes.rb +11 -0
  62. data/docker-compose.yml +18 -0
  63. data/kafka_command.gemspec +27 -0
  64. data/lib/assets/.keep +0 -0
  65. data/lib/core_extensions/kafka/broker/attr_readers.rb +11 -0
  66. data/lib/core_extensions/kafka/broker_pool/attr_readers.rb +11 -0
  67. data/lib/core_extensions/kafka/client/attr_readers.rb +11 -0
  68. data/lib/core_extensions/kafka/cluster/attr_readers.rb +11 -0
  69. data/lib/core_extensions/kafka/protocol/metadata_response/partition_metadata/attr_readers.rb +15 -0
  70. data/lib/kafka_command/configuration.rb +150 -0
  71. data/lib/kafka_command/engine.rb +11 -0
  72. data/lib/kafka_command/errors.rb +6 -0
  73. data/lib/kafka_command/version.rb +5 -0
  74. data/lib/kafka_command.rb +13 -0
  75. data/lib/tasks/.keep +0 -0
  76. data/spec/dummy/Rakefile +6 -0
  77. data/spec/dummy/app/assets/config/manifest.js +4 -0
  78. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  79. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  80. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  81. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  82. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  83. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  84. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  85. data/spec/dummy/app/jobs/application_job.rb +2 -0
  86. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  87. data/spec/dummy/app/models/application_record.rb +3 -0
  88. data/spec/dummy/app/views/layouts/application.html.erb +15 -0
  89. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  90. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  91. data/spec/dummy/bin/bundle +3 -0
  92. data/spec/dummy/bin/rails +4 -0
  93. data/spec/dummy/bin/rake +4 -0
  94. data/spec/dummy/bin/setup +36 -0
  95. data/spec/dummy/bin/update +31 -0
  96. data/spec/dummy/bin/yarn +11 -0
  97. data/spec/dummy/config/application.rb +19 -0
  98. data/spec/dummy/config/boot.rb +5 -0
  99. data/spec/dummy/config/cable.yml +10 -0
  100. data/spec/dummy/config/database.yml +25 -0
  101. data/spec/dummy/config/environment.rb +5 -0
  102. data/spec/dummy/config/environments/development.rb +61 -0
  103. data/spec/dummy/config/environments/production.rb +94 -0
  104. data/spec/dummy/config/environments/test.rb +46 -0
  105. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  106. data/spec/dummy/config/initializers/assets.rb +14 -0
  107. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  108. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  109. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  110. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  111. data/spec/dummy/config/initializers/inflections.rb +16 -0
  112. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  113. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  114. data/spec/dummy/config/kafka_command.yml +18 -0
  115. data/spec/dummy/config/locales/en.yml +33 -0
  116. data/spec/dummy/config/puma.rb +34 -0
  117. data/spec/dummy/config/routes.rb +3 -0
  118. data/spec/dummy/config/spring.rb +6 -0
  119. data/spec/dummy/config/ssl/test_ca_cert +1 -0
  120. data/spec/dummy/config/ssl/test_client_cert +1 -0
  121. data/spec/dummy/config/ssl/test_client_cert_key +1 -0
  122. data/spec/dummy/config/storage.yml +34 -0
  123. data/spec/dummy/config.ru +5 -0
  124. data/spec/dummy/db/schema.rb +42 -0
  125. data/spec/dummy/db/test.sqlite3 +0 -0
  126. data/spec/dummy/log/development.log +0 -0
  127. data/spec/dummy/log/hey.log +0 -0
  128. data/spec/dummy/log/test.log +2227 -0
  129. data/spec/dummy/package.json +5 -0
  130. data/spec/dummy/public/404.html +67 -0
  131. data/spec/dummy/public/422.html +67 -0
  132. data/spec/dummy/public/500.html +66 -0
  133. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  134. data/spec/dummy/public/apple-touch-icon.png +0 -0
  135. data/spec/dummy/public/favicon.ico +0 -0
  136. data/spec/examples.txt +165 -0
  137. data/spec/fast_helper.rb +20 -0
  138. data/spec/fixtures/files/kafka_command_sasl.yml +10 -0
  139. data/spec/fixtures/files/kafka_command_ssl.yml +10 -0
  140. data/spec/fixtures/files/kafka_command_ssl_file_paths.yml +11 -0
  141. data/spec/fixtures/files/kafka_command_staging.yml +8 -0
  142. data/spec/lib/kafka_command/configuration_spec.rb +311 -0
  143. data/spec/models/kafka_command/broker_spec.rb +83 -0
  144. data/spec/models/kafka_command/client_spec.rb +306 -0
  145. data/spec/models/kafka_command/cluster_spec.rb +163 -0
  146. data/spec/models/kafka_command/consumer_group_partition_spec.rb +43 -0
  147. data/spec/models/kafka_command/consumer_group_spec.rb +236 -0
  148. data/spec/models/kafka_command/partition_spec.rb +95 -0
  149. data/spec/models/kafka_command/topic_spec.rb +311 -0
  150. data/spec/rails_helper.rb +63 -0
  151. data/spec/requests/json/brokers_spec.rb +50 -0
  152. data/spec/requests/json/clusters_spec.rb +58 -0
  153. data/spec/requests/json/consumer_groups_spec.rb +139 -0
  154. data/spec/requests/json/topics_spec.rb +274 -0
  155. data/spec/spec_helper.rb +109 -0
  156. data/spec/support/factory_bot.rb +5 -0
  157. data/spec/support/json_helper.rb +13 -0
  158. data/spec/support/kafka_helper.rb +93 -0
  159. metadata +326 -0
@@ -0,0 +1,2227 @@
1
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
2
+  (0.1ms) SELECT sqlite_version(*)
3
+  (2.2ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+  (1.1ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
5
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
6
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
7
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
8
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
9
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
10
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
11
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
12
+  (0.0ms) begin transaction
13
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-12 05:11:33.786868"], ["updated_at", "2018-12-12 05:11:33.786868"]]
14
+  (1.1ms) commit transaction
15
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
16
+  (0.0ms) begin transaction
17
+  (0.0ms) commit transaction
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
19
+  (0.1ms) begin transaction
20
+  (0.1ms) rollback transaction
21
+  (0.0ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+  (0.0ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+  (0.0ms) begin transaction
26
+  (0.0ms) rollback transaction
27
+  (0.0ms) begin transaction
28
+  (0.0ms) rollback transaction
29
+  (0.1ms) begin transaction
30
+  (0.1ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.1ms) rollback transaction
33
+  (0.0ms) begin transaction
34
+  (0.1ms) rollback transaction
35
+  (0.0ms) begin transaction
36
+  (0.1ms) rollback transaction
37
+  (0.1ms) begin transaction
38
+  (0.1ms) rollback transaction
39
+  (0.0ms) begin transaction
40
+  (0.1ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+  (0.1ms) rollback transaction
43
+  (0.0ms) begin transaction
44
+  (0.1ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.1ms) rollback transaction
47
+  (0.0ms) begin transaction
48
+  (0.1ms) rollback transaction
49
+  (0.0ms) begin transaction
50
+  (0.1ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+  (0.1ms) rollback transaction
53
+  (0.1ms) begin transaction
54
+  (0.1ms) rollback transaction
55
+  (0.1ms) begin transaction
56
+  (0.1ms) rollback transaction
57
+  (0.1ms) begin transaction
58
+  (0.1ms) rollback transaction
59
+  (0.0ms) begin transaction
60
+  (0.1ms) rollback transaction
61
+  (0.0ms) begin transaction
62
+  (0.1ms) rollback transaction
63
+  (0.1ms) begin transaction
64
+  (0.1ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+  (0.3ms) rollback transaction
67
+  (0.1ms) begin transaction
68
+  (0.2ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+  (0.2ms) rollback transaction
73
+  (0.1ms) begin transaction
74
+  (0.1ms) rollback transaction
75
+  (0.1ms) begin transaction
76
+  (0.1ms) rollback transaction
77
+  (0.0ms) begin transaction
78
+  (0.3ms) rollback transaction
79
+  (0.1ms) begin transaction
80
+  (0.0ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+  (0.1ms) rollback transaction
83
+  (0.1ms) begin transaction
84
+  (0.1ms) rollback transaction
85
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
86
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
87
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
88
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
89
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
90
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
91
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
92
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
93
+  (0.1ms) SELECT sqlite_version(*)
94
+  (1.5ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
95
+  (1.2ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
96
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
97
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
98
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
99
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
100
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
101
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
102
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
103
+  (0.1ms) begin transaction
104
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-12 05:13:50.881895"], ["updated_at", "2018-12-12 05:13:50.881895"]]
105
+  (1.1ms) commit transaction
106
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
107
+  (0.0ms) begin transaction
108
+  (0.0ms) commit transaction
109
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
110
+  (0.1ms) begin transaction
111
+  (0.1ms) rollback transaction
112
+  (0.0ms) begin transaction
113
+  (0.0ms) rollback transaction
114
+  (0.0ms) begin transaction
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
117
+  (0.0ms) rollback transaction
118
+  (0.0ms) begin transaction
119
+  (0.0ms) rollback transaction
120
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
121
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
122
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
123
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
124
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
125
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
126
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
127
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
128
+  (0.0ms) SELECT sqlite_version(*)
129
+  (1.9ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
130
+  (1.3ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
131
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
132
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
133
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
134
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
136
+  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
137
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
138
+  (0.0ms) begin transaction
139
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-12 05:31:27.105026"], ["updated_at", "2018-12-12 05:31:27.105026"]]
140
+  (1.3ms) commit transaction
141
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
142
+  (0.0ms) begin transaction
143
+  (0.0ms) commit transaction
144
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
145
+  (0.2ms) begin transaction
146
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-11 21:32:05 -0800
147
+ Processing by KafkaCommand::ClustersController#show as JSON
148
+ Parameters: {"id"=>"doesnotexist"}
149
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
150
+  (0.1ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-11 21:32:05 -0800
153
+ Processing by KafkaCommand::ClustersController#show as JSON
154
+ Parameters: {"id"=>"test_cluster"}
155
+ Completed 200 OK in 17ms (Views: 14.3ms | ActiveRecord: 0.0ms)
156
+  (0.1ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-11 21:32:05 -0800
159
+ Processing by KafkaCommand::ClustersController#index as JSON
160
+ Completed 200 OK in 106ms (Views: 94.0ms | ActiveRecord: 0.0ms)
161
+  (0.1ms) rollback transaction
162
+  (0.0ms) begin transaction
163
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-11 21:32:05 -0800
164
+ Processing by KafkaCommand::ClustersController#index as JSON
165
+ Parameters: {"name"=>"test_cluster"}
166
+ Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 0.0ms)
167
+  (0.2ms) rollback transaction
168
+  (0.0ms) begin transaction
169
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-11 21:32:05 -0800
170
+ Processing by KafkaCommand::ClustersController#index as JSON
171
+ Parameters: {"name"=>"unknown"}
172
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
173
+  (0.0ms) rollback transaction
174
+  (0.1ms) begin transaction
175
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:14 -0800
176
+ Processing by KafkaCommand::TopicsController#create as JSON
177
+ Parameters: {"name"=>"test-7908b193e55daacee1c00e39", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
178
+ Completed 201 Created in 36ms (Views: 0.5ms | ActiveRecord: 0.0ms)
179
+  (0.1ms) rollback transaction
180
+  (0.0ms) begin transaction
181
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
182
+ Processing by KafkaCommand::TopicsController#create as JSON
183
+ Parameters: {"name"=>"test-7b4c8fbd6f9054a8b4ca81e8", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
184
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
185
+  (0.1ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
188
+ Processing by KafkaCommand::TopicsController#create as JSON
189
+ Parameters: {"name"=>"test-0ccc84669c3d091dd08f3af7", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
190
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
191
+  (0.1ms) rollback transaction
192
+  (0.1ms) begin transaction
193
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
194
+ Processing by KafkaCommand::TopicsController#create as JSON
195
+ Parameters: {"name"=>"test-c8b3e39dcafdc88281cf832e", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
196
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
197
+  (0.3ms) rollback transaction
198
+  (0.1ms) begin transaction
199
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
200
+ Processing by KafkaCommand::TopicsController#create as JSON
201
+ Parameters: {"name"=>"test-875452b0e30e366dcf45f0ae", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
202
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
203
+  (0.1ms) rollback transaction
204
+  (0.0ms) begin transaction
205
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
206
+ Processing by KafkaCommand::TopicsController#create as JSON
207
+ Parameters: {"name"=>"test-06b4d90749e3985fde3dadb7", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
208
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
209
+  (0.1ms) rollback transaction
210
+  (0.0ms) begin transaction
211
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
212
+ Processing by KafkaCommand::TopicsController#create as JSON
213
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
214
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
215
+  (0.1ms) rollback transaction
216
+  (0.0ms) begin transaction
217
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
218
+ Processing by KafkaCommand::TopicsController#index as JSON
219
+ Parameters: {"cluster_id"=>"test_cluster"}
220
+ Completed 200 OK in 162ms (Views: 5.9ms | ActiveRecord: 0.0ms)
221
+  (0.1ms) rollback transaction
222
+  (0.0ms) begin transaction
223
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-11 21:32:15 -0800
224
+ Processing by KafkaCommand::TopicsController#index as JSON
225
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
226
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
227
+  (0.1ms) rollback transaction
228
+  (0.0ms) begin transaction
229
+ Started GET "/clusters/test_cluster/topics.json?name=test-d16d74f3b056a05bc2ee8d0d" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
230
+ Processing by KafkaCommand::TopicsController#index as JSON
231
+ Parameters: {"name"=>"test-d16d74f3b056a05bc2ee8d0d", "cluster_id"=>"test_cluster"}
232
+ Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 0.0ms)
233
+  (0.1ms) rollback transaction
234
+  (0.0ms) begin transaction
235
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
236
+ Processing by KafkaCommand::TopicsController#destroy as JSON
237
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
238
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
239
+  (0.1ms) rollback transaction
240
+  (0.0ms) begin transaction
241
+ Started DELETE "/clusters/test_cluster/topics/test-719ab6f2188bedddd7ca4059.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
242
+ Processing by KafkaCommand::TopicsController#destroy as JSON
243
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-719ab6f2188bedddd7ca4059"}
244
+ Completed 204 No Content in 8ms (ActiveRecord: 0.0ms)
245
+  (0.1ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
248
+ Processing by KafkaCommand::TopicsController#update as JSON
249
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
250
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
251
+  (0.1ms) rollback transaction
252
+  (0.0ms) begin transaction
253
+ Started PATCH "/clusters/test_cluster/topics/test-ae986af3d0fbeee9c9383ac1.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
254
+ Processing by KafkaCommand::TopicsController#update as JSON
255
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-ae986af3d0fbeee9c9383ac1"}
256
+ Completed 200 OK in 27ms (Views: 0.6ms | ActiveRecord: 0.0ms)
257
+  (0.1ms) rollback transaction
258
+  (0.0ms) begin transaction
259
+ Started PATCH "/clusters/test_cluster/topics/test-20c391f4911b69795ed2d8e2.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
260
+ Processing by KafkaCommand::TopicsController#update as JSON
261
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-20c391f4911b69795ed2d8e2"}
262
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
263
+  (0.1ms) rollback transaction
264
+  (0.0ms) begin transaction
265
+ Started PATCH "/clusters/test_cluster/topics/test-2a7dea769cc9e5dd82177dd8.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
266
+ Processing by KafkaCommand::TopicsController#update as JSON
267
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-2a7dea769cc9e5dd82177dd8"}
268
+ Completed 422 Unprocessable Entity in 17ms (Views: 0.1ms | ActiveRecord: 0.0ms)
269
+  (0.1ms) rollback transaction
270
+  (0.0ms) begin transaction
271
+ Started GET "/clusters/test_cluster/topics/test-a70a72cbae9d541fea5ff0c3.json" for 127.0.0.1 at 2018-12-11 21:32:16 -0800
272
+ Processing by KafkaCommand::TopicsController#show as JSON
273
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-a70a72cbae9d541fea5ff0c3"}
274
+ Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 0.0ms)
275
+  (0.1ms) rollback transaction
276
+  (0.0ms) begin transaction
277
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-11 21:32:17 -0800
278
+ Processing by KafkaCommand::TopicsController#show as JSON
279
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
280
+ Completed 404 Not Found in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
281
+  (0.1ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-11 21:32:19 -0800
284
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
285
+ Parameters: {"cluster_id"=>"test_cluster"}
286
+ Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.0ms)
287
+  (0.1ms) rollback transaction
288
+  (0.0ms) begin transaction
289
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-11 21:32:23 -0800
290
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
291
+ Parameters: {"cluster_id"=>"test_cluster"}
292
+ Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.0ms)
293
+  (0.1ms) rollback transaction
294
+  (0.0ms) begin transaction
295
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=unknown" for 127.0.0.1 at 2018-12-11 21:32:27 -0800
296
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
297
+ Parameters: {"group_id"=>"unknown", "cluster_id"=>"test_cluster"}
298
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
299
+  (0.1ms) rollback transaction
300
+  (0.1ms) begin transaction
301
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=test-group-ce9be1a2f4fbe9c5ede4eac7" for 127.0.0.1 at 2018-12-11 21:32:31 -0800
302
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
303
+ Parameters: {"group_id"=>"test-group-ce9be1a2f4fbe9c5ede4eac7", "cluster_id"=>"test_cluster"}
304
+ Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
305
+  (0.9ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-74cf867ba52630b6fe6afcfa.json" for 127.0.0.1 at 2018-12-11 21:32:33 -0800
308
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
309
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-74cf867ba52630b6fe6afcfa"}
310
+ Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)
311
+  (0.2ms) rollback transaction
312
+  (0.2ms) begin transaction
313
+ Started GET "/clusters/test_cluster//consumer_groups/doesnotexists.json" for 127.0.0.1 at 2018-12-11 21:32:33 -0800
314
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
315
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexists"}
316
+ Completed 404 Not Found in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
317
+  (0.1ms) rollback transaction
318
+  (0.1ms) begin transaction
319
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-eefc54ac7c2870aa02d51306.json" for 127.0.0.1 at 2018-12-11 21:32:35 -0800
320
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
321
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-eefc54ac7c2870aa02d51306"}
322
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
323
+  (0.1ms) rollback transaction
324
+  (0.1ms) begin transaction
325
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-11 21:32:42 -0800
326
+ Processing by KafkaCommand::BrokersController#index as JSON
327
+ Parameters: {"cluster_id"=>"test_cluster"}
328
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
329
+  (0.1ms) rollback transaction
330
+  (0.0ms) begin transaction
331
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-11 21:32:42 -0800
332
+ Processing by KafkaCommand::BrokersController#show as JSON
333
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
334
+ Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
335
+  (0.1ms) rollback transaction
336
+  (0.1ms) begin transaction
337
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-11 21:32:42 -0800
338
+ Processing by KafkaCommand::BrokersController#show as JSON
339
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
340
+ Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
341
+  (0.1ms) rollback transaction
342
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
343
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
344
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
345
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
346
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
347
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
348
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
349
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
350
+  (0.1ms) SELECT sqlite_version(*)
351
+  (1.8ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
352
+  (1.5ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
353
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
354
+  (1.8ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
355
+  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
356
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
357
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
358
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
359
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
360
+  (0.0ms) begin transaction
361
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-12 06:20:41.706541"], ["updated_at", "2018-12-12 06:20:41.706541"]]
362
+  (1.2ms) commit transaction
363
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
364
+  (0.0ms) begin transaction
365
+  (0.1ms) commit transaction
366
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
367
+  (0.1ms) begin transaction
368
+  (0.1ms) rollback transaction
369
+  (0.0ms) begin transaction
370
+  (0.0ms) rollback transaction
371
+  (0.0ms) begin transaction
372
+  (0.0ms) rollback transaction
373
+  (0.0ms) begin transaction
374
+  (0.0ms) rollback transaction
375
+  (0.1ms) begin transaction
376
+  (0.1ms) rollback transaction
377
+  (0.0ms) begin transaction
378
+  (0.0ms) rollback transaction
379
+  (0.0ms) begin transaction
380
+  (0.0ms) rollback transaction
381
+  (0.0ms) begin transaction
382
+  (0.1ms) rollback transaction
383
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
384
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
385
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
386
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
387
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
388
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
389
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
390
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
391
+  (0.1ms) SELECT sqlite_version(*)
392
+  (1.9ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
393
+  (1.5ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
394
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
395
+  (1.6ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
396
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
397
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
398
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
399
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
400
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
401
+  (0.0ms) begin transaction
402
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-12 06:21:20.003402"], ["updated_at", "2018-12-12 06:21:20.003402"]]
403
+  (1.1ms) commit transaction
404
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
405
+  (0.0ms) begin transaction
406
+  (0.1ms) commit transaction
407
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
408
+  (0.1ms) begin transaction
409
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
410
+ Processing by KafkaCommand::BrokersController#show as JSON
411
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
412
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
413
+  (0.1ms) rollback transaction
414
+  (0.0ms) begin transaction
415
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
416
+ Processing by KafkaCommand::BrokersController#show as JSON
417
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
418
+ Completed 404 Not Found in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
419
+  (0.0ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
422
+ Processing by KafkaCommand::BrokersController#index as JSON
423
+ Parameters: {"cluster_id"=>"test_cluster"}
424
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
425
+  (0.1ms) rollback transaction
426
+  (0.1ms) begin transaction
427
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
428
+ Processing by KafkaCommand::ClustersController#show as JSON
429
+ Parameters: {"id"=>"doesnotexist"}
430
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
431
+  (0.1ms) rollback transaction
432
+  (0.0ms) begin transaction
433
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
434
+ Processing by KafkaCommand::ClustersController#show as JSON
435
+ Parameters: {"id"=>"test_cluster"}
436
+ Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 0.0ms)
437
+  (0.1ms) rollback transaction
438
+  (0.1ms) begin transaction
439
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
440
+ Processing by KafkaCommand::ClustersController#index as JSON
441
+ Completed 200 OK in 65ms (Views: 34.1ms | ActiveRecord: 0.0ms)
442
+  (0.3ms) rollback transaction
443
+  (0.0ms) begin transaction
444
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
445
+ Processing by KafkaCommand::ClustersController#index as JSON
446
+ Parameters: {"name"=>"test_cluster"}
447
+ Completed 200 OK in 26ms (Views: 18.2ms | ActiveRecord: 0.0ms)
448
+  (0.1ms) rollback transaction
449
+  (0.0ms) begin transaction
450
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-11 22:21:58 -0800
451
+ Processing by KafkaCommand::ClustersController#index as JSON
452
+ Parameters: {"name"=>"unknown"}
453
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
454
+  (0.0ms) rollback transaction
455
+  (0.0ms) begin transaction
456
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-11 22:22:02 -0800
457
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
458
+ Parameters: {"cluster_id"=>"test_cluster"}
459
+ Completed 200 OK in 17ms (Views: 0.3ms | ActiveRecord: 0.0ms)
460
+  (0.1ms) rollback transaction
461
+  (0.1ms) begin transaction
462
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=unknown" for 127.0.0.1 at 2018-12-11 22:22:06 -0800
463
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
464
+ Parameters: {"group_id"=>"unknown", "cluster_id"=>"test_cluster"}
465
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
466
+  (0.1ms) rollback transaction
467
+  (0.1ms) begin transaction
468
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=test-group-daa8692c71c585238c118e04" for 127.0.0.1 at 2018-12-11 22:22:10 -0800
469
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
470
+ Parameters: {"group_id"=>"test-group-daa8692c71c585238c118e04", "cluster_id"=>"test_cluster"}
471
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
472
+  (2.1ms) rollback transaction
473
+  (0.1ms) begin transaction
474
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-11 22:22:12 -0800
475
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
476
+ Parameters: {"cluster_id"=>"test_cluster"}
477
+ Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.0ms)
478
+  (0.3ms) rollback transaction
479
+  (0.1ms) begin transaction
480
+ Started GET "/clusters/test_cluster//consumer_groups/doesnotexists.json" for 127.0.0.1 at 2018-12-11 22:22:12 -0800
481
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
482
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexists"}
483
+ Completed 404 Not Found in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
484
+  (0.1ms) rollback transaction
485
+  (0.0ms) begin transaction
486
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-1f9cd83f686c2fbee2d807eb.json" for 127.0.0.1 at 2018-12-11 22:22:14 -0800
487
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
488
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-1f9cd83f686c2fbee2d807eb"}
489
+ Completed 200 OK in 14ms (Views: 0.4ms | ActiveRecord: 0.0ms)
490
+  (0.1ms) rollback transaction
491
+  (0.1ms) begin transaction
492
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-86431d979f05e7a37c33f0c0.json" for 127.0.0.1 at 2018-12-11 22:22:16 -0800
493
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
494
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-86431d979f05e7a37c33f0c0"}
495
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
496
+  (0.3ms) rollback transaction
497
+  (0.2ms) begin transaction
498
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
499
+ Processing by KafkaCommand::TopicsController#show as JSON
500
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
501
+ Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
502
+  (0.2ms) rollback transaction
503
+  (0.1ms) begin transaction
504
+ Started GET "/clusters/test_cluster/topics/test-834dcec788577514d56eaf87.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
505
+ Processing by KafkaCommand::TopicsController#show as JSON
506
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-834dcec788577514d56eaf87"}
507
+ Completed 200 OK in 13ms (Views: 0.7ms | ActiveRecord: 0.0ms)
508
+  (0.1ms) rollback transaction
509
+  (0.1ms) begin transaction
510
+ Started PATCH "/clusters/test_cluster/topics/test-7029bec7eeafbecd7933c57c.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
511
+ Processing by KafkaCommand::TopicsController#update as JSON
512
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-7029bec7eeafbecd7933c57c"}
513
+ Completed 200 OK in 28ms (Views: 0.5ms | ActiveRecord: 0.0ms)
514
+  (0.1ms) rollback transaction
515
+  (0.1ms) begin transaction
516
+ Started PATCH "/clusters/test_cluster/topics/test-3167ad68891af73c9b7d4fec.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
517
+ Processing by KafkaCommand::TopicsController#update as JSON
518
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-3167ad68891af73c9b7d4fec"}
519
+ Completed 422 Unprocessable Entity in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
520
+  (0.1ms) rollback transaction
521
+  (0.1ms) begin transaction
522
+ Started PATCH "/clusters/test_cluster/topics/test-cb8079288346b6491d38d1d5.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
523
+ Processing by KafkaCommand::TopicsController#update as JSON
524
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-cb8079288346b6491d38d1d5"}
525
+ Completed 422 Unprocessable Entity in 16ms (Views: 0.1ms | ActiveRecord: 0.0ms)
526
+  (0.1ms) rollback transaction
527
+  (0.0ms) begin transaction
528
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
529
+ Processing by KafkaCommand::TopicsController#update as JSON
530
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
531
+ Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
532
+  (0.1ms) rollback transaction
533
+  (0.0ms) begin transaction
534
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:43 -0800
535
+ Processing by KafkaCommand::TopicsController#index as JSON
536
+ Parameters: {"cluster_id"=>"test_cluster"}
537
+ Completed 200 OK in 152ms (Views: 24.9ms | ActiveRecord: 0.0ms)
538
+  (0.1ms) rollback transaction
539
+  (0.1ms) begin transaction
540
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
541
+ Processing by KafkaCommand::TopicsController#index as JSON
542
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
543
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
544
+  (0.2ms) rollback transaction
545
+  (0.0ms) begin transaction
546
+ Started GET "/clusters/test_cluster/topics.json?name=test-bb7cfe98011328b82c71e745" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
547
+ Processing by KafkaCommand::TopicsController#index as JSON
548
+ Parameters: {"name"=>"test-bb7cfe98011328b82c71e745", "cluster_id"=>"test_cluster"}
549
+ Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 0.0ms)
550
+  (0.1ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+ Started DELETE "/clusters/test_cluster/topics/test-006a7b58f1ae3b9e5a9290c1.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
553
+ Processing by KafkaCommand::TopicsController#destroy as JSON
554
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-006a7b58f1ae3b9e5a9290c1"}
555
+ Completed 204 No Content in 9ms (ActiveRecord: 0.0ms)
556
+  (0.1ms) rollback transaction
557
+  (0.1ms) begin transaction
558
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
559
+ Processing by KafkaCommand::TopicsController#destroy as JSON
560
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
561
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
562
+  (0.1ms) rollback transaction
563
+  (0.1ms) begin transaction
564
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
565
+ Processing by KafkaCommand::TopicsController#create as JSON
566
+ Parameters: {"name"=>"test-1811f48578a3e5d2ea58e5a9", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
567
+ Completed 201 Created in 33ms (Views: 0.5ms | ActiveRecord: 0.0ms)
568
+  (0.1ms) rollback transaction
569
+  (0.0ms) begin transaction
570
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
571
+ Processing by KafkaCommand::TopicsController#create as JSON
572
+ Parameters: {"name"=>"test-5efa143b3d242b82aacc9ff3", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
573
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
574
+  (0.1ms) rollback transaction
575
+  (0.1ms) begin transaction
576
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
577
+ Processing by KafkaCommand::TopicsController#create as JSON
578
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
579
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
580
+  (0.1ms) rollback transaction
581
+  (0.0ms) begin transaction
582
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:44 -0800
583
+ Processing by KafkaCommand::TopicsController#create as JSON
584
+ Parameters: {"name"=>"test-c920be7740cb2918673c1bad", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
585
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
586
+  (0.1ms) rollback transaction
587
+  (0.1ms) begin transaction
588
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:45 -0800
589
+ Processing by KafkaCommand::TopicsController#create as JSON
590
+ Parameters: {"name"=>"test-25a0afed737178170b95f105", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
591
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
592
+  (0.1ms) rollback transaction
593
+  (0.0ms) begin transaction
594
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:45 -0800
595
+ Processing by KafkaCommand::TopicsController#create as JSON
596
+ Parameters: {"name"=>"test-c442f46734db5b6f8f5d37a4", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
597
+ Completed 422 Unprocessable Entity in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
598
+  (0.1ms) rollback transaction
599
+  (0.1ms) begin transaction
600
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-11 22:22:45 -0800
601
+ Processing by KafkaCommand::TopicsController#create as JSON
602
+ Parameters: {"name"=>"test-9f4889b161dde87afd8ea202", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
603
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
604
+  (0.1ms) rollback transaction
605
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
606
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
607
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
608
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
609
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
610
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
611
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
612
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
613
+  (0.1ms) SELECT sqlite_version(*)
614
+  (1.7ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
615
+  (1.3ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
616
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
617
+  (1.3ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
618
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
619
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
620
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
621
+  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
622
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
623
+  (0.1ms) begin transaction
624
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 06:35:15.848998"], ["updated_at", "2018-12-13 06:35:15.848998"]]
625
+  (0.8ms) commit transaction
626
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
627
+  (0.0ms) begin transaction
628
+  (0.0ms) commit transaction
629
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
630
+  (0.1ms) begin transaction
631
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:05 -0800
632
+ Processing by KafkaCommand::TopicsController#create as JSON
633
+ Parameters: {"name"=>"test-7d9fbaa1b2858674dee88b66", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
634
+ Completed 201 Created in 54ms (Views: 0.7ms | ActiveRecord: 0.0ms)
635
+  (0.1ms) rollback transaction
636
+  (0.1ms) begin transaction
637
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:05 -0800
638
+ Processing by KafkaCommand::TopicsController#create as JSON
639
+ Parameters: {"name"=>"test-63fc778649fde8a44247c0da", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
640
+ Completed 422 Unprocessable Entity in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
641
+  (0.1ms) rollback transaction
642
+  (0.1ms) begin transaction
643
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:05 -0800
644
+ Processing by KafkaCommand::TopicsController#create as JSON
645
+ Parameters: {"name"=>"test-3ace134649f32c809826585a", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
646
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
647
+  (0.1ms) rollback transaction
648
+  (0.1ms) begin transaction
649
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:05 -0800
650
+ Processing by KafkaCommand::TopicsController#create as JSON
651
+ Parameters: {"name"=>"test-0ae365aa276ac7dfc386a2ea", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
652
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
653
+  (0.1ms) rollback transaction
654
+  (0.1ms) begin transaction
655
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:06 -0800
656
+ Processing by KafkaCommand::TopicsController#create as JSON
657
+ Parameters: {"name"=>"test-baeb8f64c8be8c8b17a898e0", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
658
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
659
+  (0.2ms) rollback transaction
660
+  (0.1ms) begin transaction
661
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:06 -0800
662
+ Processing by KafkaCommand::TopicsController#create as JSON
663
+ Parameters: {"name"=>"test-58f1c824187bfe3d1ea491c5", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
664
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
665
+  (0.1ms) rollback transaction
666
+  (0.0ms) begin transaction
667
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:06 -0800
668
+ Processing by KafkaCommand::TopicsController#create as JSON
669
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
670
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
671
+  (0.1ms) rollback transaction
672
+  (0.0ms) begin transaction
673
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 22:36:06 -0800
674
+ Processing by KafkaCommand::TopicsController#index as JSON
675
+ Parameters: {"cluster_id"=>"test_cluster"}
676
+ Completed 200 OK in 193ms (Views: 6.5ms | ActiveRecord: 0.0ms)
677
+  (0.1ms) rollback transaction
678
+  (0.1ms) begin transaction
679
+ Started GET "/clusters/test_cluster/topics.json?name=test-2f4537ad6612c6a8c6139c39" for 127.0.0.1 at 2018-12-12 22:36:06 -0800
680
+ Processing by KafkaCommand::TopicsController#index as JSON
681
+ Parameters: {"name"=>"test-2f4537ad6612c6a8c6139c39", "cluster_id"=>"test_cluster"}
682
+ Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 0.0ms)
683
+  (0.1ms) rollback transaction
684
+  (0.1ms) begin transaction
685
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
686
+ Processing by KafkaCommand::TopicsController#index as JSON
687
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
688
+ Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
689
+  (0.1ms) rollback transaction
690
+  (0.1ms) begin transaction
691
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
692
+ Processing by KafkaCommand::TopicsController#update as JSON
693
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
694
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
695
+  (0.1ms) rollback transaction
696
+  (0.1ms) begin transaction
697
+ Started PATCH "/clusters/test_cluster/topics/test-003afea0096d5ffe1369d697.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
698
+ Processing by KafkaCommand::TopicsController#update as JSON
699
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-003afea0096d5ffe1369d697"}
700
+ Completed 200 OK in 59ms (Views: 0.6ms | ActiveRecord: 0.0ms)
701
+  (0.1ms) rollback transaction
702
+  (0.1ms) begin transaction
703
+ Started PATCH "/clusters/test_cluster/topics/test-e2688131582ff4e46755345d.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
704
+ Processing by KafkaCommand::TopicsController#update as JSON
705
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-e2688131582ff4e46755345d"}
706
+ Completed 422 Unprocessable Entity in 12ms (Views: 0.2ms | ActiveRecord: 0.0ms)
707
+  (0.1ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+ Started PATCH "/clusters/test_cluster/topics/test-1c6e0a8a948154893109aac4.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
710
+ Processing by KafkaCommand::TopicsController#update as JSON
711
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-1c6e0a8a948154893109aac4"}
712
+ Completed 422 Unprocessable Entity in 23ms (Views: 0.1ms | ActiveRecord: 0.0ms)
713
+  (0.1ms) rollback transaction
714
+  (0.0ms) begin transaction
715
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
716
+ Processing by KafkaCommand::TopicsController#show as JSON
717
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
718
+ Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
719
+  (0.1ms) rollback transaction
720
+  (0.0ms) begin transaction
721
+ Started GET "/clusters/test_cluster/topics/test-6ddf7d8a6b25a72a99e858b9.json" for 127.0.0.1 at 2018-12-12 22:36:07 -0800
722
+ Processing by KafkaCommand::TopicsController#show as JSON
723
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-6ddf7d8a6b25a72a99e858b9"}
724
+ Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 0.0ms)
725
+  (0.1ms) rollback transaction
726
+  (0.0ms) begin transaction
727
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-12 22:36:08 -0800
728
+ Processing by KafkaCommand::TopicsController#destroy as JSON
729
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
730
+ Completed 404 Not Found in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
731
+  (0.1ms) rollback transaction
732
+  (0.1ms) begin transaction
733
+ Started DELETE "/clusters/test_cluster/topics/test-e9b2e26123a3bc53059ef192.json" for 127.0.0.1 at 2018-12-12 22:36:08 -0800
734
+ Processing by KafkaCommand::TopicsController#destroy as JSON
735
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-e9b2e26123a3bc53059ef192"}
736
+ Completed 204 No Content in 11ms (ActiveRecord: 0.0ms)
737
+  (0.1ms) rollback transaction
738
+  (0.1ms) begin transaction
739
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-12 22:36:12 -0800
740
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
741
+ Parameters: {"cluster_id"=>"test_cluster"}
742
+ Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)
743
+  (0.3ms) rollback transaction
744
+  (0.1ms) begin transaction
745
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=test-group-3fc8b6bb1e3e3a72418ebf72" for 127.0.0.1 at 2018-12-12 22:36:16 -0800
746
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
747
+ Parameters: {"group_id"=>"test-group-3fc8b6bb1e3e3a72418ebf72", "cluster_id"=>"test_cluster"}
748
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)
749
+  (0.1ms) rollback transaction
750
+  (0.1ms) begin transaction
751
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=unknown" for 127.0.0.1 at 2018-12-12 22:36:20 -0800
752
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
753
+ Parameters: {"group_id"=>"unknown", "cluster_id"=>"test_cluster"}
754
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
755
+  (0.1ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-12 22:36:22 -0800
758
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
759
+ Parameters: {"cluster_id"=>"test_cluster"}
760
+ Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 0.0ms)
761
+  (0.2ms) rollback transaction
762
+  (0.1ms) begin transaction
763
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-90e7bc9e3ea1a3bb9213447e.json" for 127.0.0.1 at 2018-12-12 22:36:24 -0800
764
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
765
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-90e7bc9e3ea1a3bb9213447e"}
766
+ Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 0.0ms)
767
+  (0.1ms) rollback transaction
768
+  (0.1ms) begin transaction
769
+ Started GET "/clusters/test_cluster//consumer_groups/doesnotexists.json" for 127.0.0.1 at 2018-12-12 22:36:24 -0800
770
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
771
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexists"}
772
+ Completed 404 Not Found in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)
773
+  (0.1ms) rollback transaction
774
+  (0.1ms) begin transaction
775
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-f80c5ea26b0b7df1d4d528b1.json" for 127.0.0.1 at 2018-12-12 22:36:26 -0800
776
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
777
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-f80c5ea26b0b7df1d4d528b1"}
778
+ Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 0.0ms)
779
+  (0.6ms) rollback transaction
780
+  (0.1ms) begin transaction
781
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-12 22:36:26 -0800
782
+ Processing by KafkaCommand::ClustersController#index as JSON
783
+ Completed 200 OK in 56ms (Views: 46.6ms | ActiveRecord: 0.0ms)
784
+  (0.4ms) rollback transaction
785
+  (0.1ms) begin transaction
786
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
787
+ Processing by KafkaCommand::ClustersController#index as JSON
788
+ Parameters: {"name"=>"test_cluster"}
789
+ Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.0ms)
790
+  (0.1ms) rollback transaction
791
+  (0.0ms) begin transaction
792
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
793
+ Processing by KafkaCommand::ClustersController#index as JSON
794
+ Parameters: {"name"=>"unknown"}
795
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
796
+  (0.1ms) rollback transaction
797
+  (0.0ms) begin transaction
798
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
799
+ Processing by KafkaCommand::ClustersController#show as JSON
800
+ Parameters: {"id"=>"doesnotexist"}
801
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
802
+  (0.1ms) rollback transaction
803
+  (0.0ms) begin transaction
804
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
805
+ Processing by KafkaCommand::ClustersController#show as JSON
806
+ Parameters: {"id"=>"test_cluster"}
807
+ Completed 200 OK in 26ms (Views: 19.2ms | ActiveRecord: 0.0ms)
808
+  (0.2ms) rollback transaction
809
+  (0.1ms) begin transaction
810
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
811
+ Processing by KafkaCommand::BrokersController#show as JSON
812
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
813
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
814
+  (0.1ms) rollback transaction
815
+  (0.1ms) begin transaction
816
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
817
+ Processing by KafkaCommand::BrokersController#show as JSON
818
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
819
+ Completed 404 Not Found in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
820
+  (0.1ms) rollback transaction
821
+  (0.1ms) begin transaction
822
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-12 22:36:27 -0800
823
+ Processing by KafkaCommand::BrokersController#index as JSON
824
+ Parameters: {"cluster_id"=>"test_cluster"}
825
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
826
+  (0.1ms) rollback transaction
827
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
828
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
829
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
830
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
831
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
832
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
833
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
834
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
835
+  (0.1ms) SELECT sqlite_version(*)
836
+  (1.9ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
837
+  (2.2ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
838
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
839
+  (1.6ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
840
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
841
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
842
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
843
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
844
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
845
+  (0.1ms) begin transaction
846
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 07:24:03.412707"], ["updated_at", "2018-12-13 07:24:03.412707"]]
847
+  (1.5ms) commit transaction
848
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
849
+  (0.0ms) begin transaction
850
+  (0.0ms) commit transaction
851
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
852
+  (0.1ms) begin transaction
853
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-12 23:24:03 -0800
854
+ Processing by KafkaCommand::ClustersController#index as JSON
855
+ Completed 200 OK in 43ms (Views: 30.5ms | ActiveRecord: 0.0ms)
856
+  (0.1ms) rollback transaction
857
+  (0.0ms) begin transaction
858
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-12 23:24:03 -0800
859
+ Processing by KafkaCommand::ClustersController#index as JSON
860
+ Parameters: {"name"=>"test_cluster"}
861
+ Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 0.0ms)
862
+  (0.1ms) rollback transaction
863
+  (0.0ms) begin transaction
864
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-12 23:24:03 -0800
865
+ Processing by KafkaCommand::ClustersController#index as JSON
866
+ Parameters: {"name"=>"unknown"}
867
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
868
+  (0.0ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-12 23:24:03 -0800
871
+ Processing by KafkaCommand::ClustersController#show as JSON
872
+ Parameters: {"id"=>"doesnotexist"}
873
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
874
+  (0.1ms) rollback transaction
875
+  (0.0ms) begin transaction
876
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-12 23:24:03 -0800
877
+ Processing by KafkaCommand::ClustersController#show as JSON
878
+ Parameters: {"id"=>"test_cluster"}
879
+ Completed 200 OK in 19ms (Views: 16.3ms | ActiveRecord: 0.0ms)
880
+  (0.1ms) rollback transaction
881
+  (0.1ms) begin transaction
882
+ Started PATCH "/clusters/test_cluster/topics/test-ca9f56494ba557ae4cfad7ed.json" for 127.0.0.1 at 2018-12-12 23:24:04 -0800
883
+ Processing by KafkaCommand::TopicsController#update as JSON
884
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-ca9f56494ba557ae4cfad7ed"}
885
+ Completed 500 Internal Server Error in 11ms (Views: 0.1ms | ActiveRecord: 0.0ms)
886
+  (0.1ms) rollback transaction
887
+  (0.0ms) begin transaction
888
+ Started PATCH "/clusters/test_cluster/topics/test-1938c9c6322e74e1252a7a2f.json" for 127.0.0.1 at 2018-12-12 23:24:14 -0800
889
+ Processing by KafkaCommand::TopicsController#update as JSON
890
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-1938c9c6322e74e1252a7a2f"}
891
+ Completed 500 Internal Server Error in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
892
+  (0.1ms) rollback transaction
893
+  (0.0ms) begin transaction
894
+ Started PATCH "/clusters/test_cluster/topics/test-6a8dc120ac11d2c4d6cb58c8.json" for 127.0.0.1 at 2018-12-12 23:24:24 -0800
895
+ Processing by KafkaCommand::TopicsController#update as JSON
896
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-6a8dc120ac11d2c4d6cb58c8"}
897
+ Completed 500 Internal Server Error in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
898
+  (0.1ms) rollback transaction
899
+  (0.1ms) begin transaction
900
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-12 23:24:34 -0800
901
+ Processing by KafkaCommand::TopicsController#update as JSON
902
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
903
+ Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
904
+  (0.1ms) rollback transaction
905
+  (0.1ms) begin transaction
906
+ Started DELETE "/clusters/test_cluster/topics/test-c43c7570effd016cdc1aa541.json" for 127.0.0.1 at 2018-12-12 23:24:44 -0800
907
+ Processing by KafkaCommand::TopicsController#destroy as JSON
908
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-c43c7570effd016cdc1aa541"}
909
+ Completed 500 Internal Server Error in 10010ms (Views: 0.2ms | ActiveRecord: 0.0ms)
910
+  (0.1ms) rollback transaction
911
+  (0.1ms) begin transaction
912
+  (0.1ms) rollback transaction
913
+  (0.0ms) begin transaction
914
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:25:25 -0800
915
+ Processing by KafkaCommand::TopicsController#index as JSON
916
+ Parameters: {"cluster_id"=>"test_cluster"}
917
+ Completed 200 OK in 75ms (Views: 1.8ms | ActiveRecord: 0.0ms)
918
+  (0.1ms) rollback transaction
919
+  (0.0ms) begin transaction
920
+ Started GET "/clusters/test_cluster/topics.json?name=test-c1b871a694046f5ed22e08b2" for 127.0.0.1 at 2018-12-12 23:25:45 -0800
921
+ Processing by KafkaCommand::TopicsController#index as JSON
922
+ Parameters: {"name"=>"test-c1b871a694046f5ed22e08b2", "cluster_id"=>"test_cluster"}
923
+ Completed 200 OK in 14ms (Views: 0.6ms | ActiveRecord: 0.0ms)
924
+  (0.1ms) rollback transaction
925
+  (0.1ms) begin transaction
926
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-12 23:26:05 -0800
927
+ Processing by KafkaCommand::TopicsController#index as JSON
928
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
929
+ Completed 200 OK in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
930
+  (0.1ms) rollback transaction
931
+  (0.0ms) begin transaction
932
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:26:25 -0800
933
+ Processing by KafkaCommand::TopicsController#create as JSON
934
+ Parameters: {"name"=>"test-d23e09bd7bf91725402f1224", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
935
+ Completed 201 Created in 130ms (Views: 0.5ms | ActiveRecord: 0.0ms)
936
+  (0.1ms) rollback transaction
937
+  (0.1ms) begin transaction
938
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:26:46 -0800
939
+ Processing by KafkaCommand::TopicsController#create as JSON
940
+ Parameters: {"name"=>"test-026edee4cecdc41a554dbe37", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
941
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
942
+  (0.1ms) rollback transaction
943
+  (0.1ms) begin transaction
944
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:26:56 -0800
945
+ Processing by KafkaCommand::TopicsController#create as JSON
946
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
947
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
948
+  (0.1ms) rollback transaction
949
+  (0.1ms) begin transaction
950
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:27:06 -0800
951
+ Processing by KafkaCommand::TopicsController#create as JSON
952
+ Parameters: {"name"=>"test-08dbd941cd0d40d17d15d051", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
953
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
954
+  (0.1ms) rollback transaction
955
+  (0.0ms) begin transaction
956
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:27:16 -0800
957
+ Processing by KafkaCommand::TopicsController#create as JSON
958
+ Parameters: {"name"=>"test-6e6d33eba4bc28fe19860cbd", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
959
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
960
+  (0.1ms) rollback transaction
961
+  (0.0ms) begin transaction
962
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:27:26 -0800
963
+ Processing by KafkaCommand::TopicsController#create as JSON
964
+ Parameters: {"name"=>"test-3c0800d5d09c061d110f5e1d", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
965
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
966
+  (0.1ms) rollback transaction
967
+  (0.0ms) begin transaction
968
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:27:36 -0800
969
+ Processing by KafkaCommand::TopicsController#create as JSON
970
+ Parameters: {"name"=>"test-11d4c9f93d79d8033606aa9b", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
971
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
972
+  (0.1ms) rollback transaction
973
+  (0.0ms) begin transaction
974
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-12 23:27:57 -0800
975
+ Processing by KafkaCommand::TopicsController#show as JSON
976
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
977
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
978
+  (0.1ms) rollback transaction
979
+  (0.1ms) begin transaction
980
+ Started GET "/clusters/test_cluster/topics/test-8a6b29afac607d6198ceeefa.json" for 127.0.0.1 at 2018-12-12 23:28:07 -0800
981
+ Processing by KafkaCommand::TopicsController#show as JSON
982
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-8a6b29afac607d6198ceeefa"}
983
+ Completed 200 OK in 15ms (Views: 0.6ms | ActiveRecord: 0.0ms)
984
+  (0.1ms) rollback transaction
985
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
986
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
987
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
988
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
989
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
990
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
991
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
992
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
993
+  (0.1ms) SELECT sqlite_version(*)
994
+  (1.6ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
995
+  (1.7ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
996
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
997
+  (1.6ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
998
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
999
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1000
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1001
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1002
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1003
+  (0.0ms) begin transaction
1004
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 07:56:18.220443"], ["updated_at", "2018-12-13 07:56:18.220443"]]
1005
+  (1.0ms) commit transaction
1006
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1007
+  (0.0ms) begin transaction
1008
+  (0.0ms) commit transaction
1009
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1010
+  (0.1ms) begin transaction
1011
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-12 23:56:20 -0800
1012
+ Processing by KafkaCommand::BrokersController#index as JSON
1013
+ Parameters: {"cluster_id"=>"test_cluster"}
1014
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1015
+  (0.1ms) rollback transaction
1016
+  (0.0ms) begin transaction
1017
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-12 23:56:20 -0800
1018
+ Processing by KafkaCommand::BrokersController#show as JSON
1019
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1020
+ Completed 404 Not Found in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1021
+  (0.1ms) rollback transaction
1022
+  (0.0ms) begin transaction
1023
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-12 23:56:20 -0800
1024
+ Processing by KafkaCommand::BrokersController#show as JSON
1025
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
1026
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1027
+  (0.1ms) rollback transaction
1028
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1029
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1030
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1031
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1032
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1033
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1034
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1035
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1036
+  (0.1ms) SELECT sqlite_version(*)
1037
+  (1.7ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1038
+  (1.4ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1039
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1040
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1041
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1042
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1043
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1044
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1045
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1046
+  (0.1ms) begin transaction
1047
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 07:59:19.764108"], ["updated_at", "2018-12-13 07:59:19.764108"]]
1048
+  (1.1ms) commit transaction
1049
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1050
+  (0.1ms) begin transaction
1051
+  (0.0ms) commit transaction
1052
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1053
+  (0.1ms) begin transaction
1054
+ Started GET "/clusters/test_cluster//consumer_groups/doesnotexists.json" for 127.0.0.1 at 2018-12-12 23:59:21 -0800
1055
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1056
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexists"}
1057
+ Completed 404 Not Found in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1058
+  (0.1ms) rollback transaction
1059
+  (0.1ms) begin transaction
1060
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-8257aa18b05cbe501af8ef01.json" for 127.0.0.1 at 2018-12-12 23:59:24 -0800
1061
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1062
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-8257aa18b05cbe501af8ef01"}
1063
+ Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1064
+  (0.1ms) rollback transaction
1065
+  (0.1ms) begin transaction
1066
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-5428aa4834adbd2866464c49.json" for 127.0.0.1 at 2018-12-12 23:59:27 -0800
1067
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1068
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-5428aa4834adbd2866464c49"}
1069
+ Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1070
+  (0.1ms) rollback transaction
1071
+  (0.1ms) begin transaction
1072
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-12 23:59:31 -0800
1073
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1074
+ Parameters: {"cluster_id"=>"test_cluster"}
1075
+ Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1076
+  (0.1ms) rollback transaction
1077
+  (0.0ms) begin transaction
1078
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=test-group-4586c107535233e2c11c4c64" for 127.0.0.1 at 2018-12-12 23:59:35 -0800
1079
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1080
+ Parameters: {"group_id"=>"test-group-4586c107535233e2c11c4c64", "cluster_id"=>"test_cluster"}
1081
+ Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1082
+  (0.1ms) rollback transaction
1083
+  (0.1ms) begin transaction
1084
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=unknown" for 127.0.0.1 at 2018-12-12 23:59:39 -0800
1085
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1086
+ Parameters: {"group_id"=>"unknown", "cluster_id"=>"test_cluster"}
1087
+ Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1088
+  (0.1ms) rollback transaction
1089
+  (0.1ms) begin transaction
1090
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-12 23:59:41 -0800
1091
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1092
+ Parameters: {"cluster_id"=>"test_cluster"}
1093
+ Completed 200 OK in 44ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1094
+  (0.1ms) rollback transaction
1095
+  (0.1ms) begin transaction
1096
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:49 -0800
1097
+ Processing by KafkaCommand::TopicsController#index as JSON
1098
+ Parameters: {"cluster_id"=>"test_cluster"}
1099
+ Completed 200 OK in 68ms (Views: 2.3ms | ActiveRecord: 0.0ms)
1100
+  (0.1ms) rollback transaction
1101
+  (0.1ms) begin transaction
1102
+ Started GET "/clusters/test_cluster/topics.json?name=test-802eb789523f6c4b4b4bef51" for 127.0.0.1 at 2018-12-12 23:59:50 -0800
1103
+ Processing by KafkaCommand::TopicsController#index as JSON
1104
+ Parameters: {"name"=>"test-802eb789523f6c4b4b4bef51", "cluster_id"=>"test_cluster"}
1105
+ Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1106
+  (0.1ms) rollback transaction
1107
+  (0.1ms) begin transaction
1108
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-12 23:59:50 -0800
1109
+ Processing by KafkaCommand::TopicsController#index as JSON
1110
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
1111
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1112
+  (0.1ms) rollback transaction
1113
+  (0.0ms) begin transaction
1114
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-12 23:59:50 -0800
1115
+ Processing by KafkaCommand::TopicsController#update as JSON
1116
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
1117
+ Completed 404 Not Found in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1118
+  (0.1ms) rollback transaction
1119
+  (0.1ms) begin transaction
1120
+ Started PATCH "/clusters/test_cluster/topics/test-7e43c351fbb69a00dfa2fc49.json" for 127.0.0.1 at 2018-12-12 23:59:50 -0800
1121
+ Processing by KafkaCommand::TopicsController#update as JSON
1122
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-7e43c351fbb69a00dfa2fc49"}
1123
+ Completed 200 OK in 60ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1124
+  (0.1ms) rollback transaction
1125
+  (0.1ms) begin transaction
1126
+ Started PATCH "/clusters/test_cluster/topics/test-c5401b523d0b1e0ea33b1f91.json" for 127.0.0.1 at 2018-12-12 23:59:51 -0800
1127
+ Processing by KafkaCommand::TopicsController#update as JSON
1128
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-c5401b523d0b1e0ea33b1f91"}
1129
+ Completed 422 Unprocessable Entity in 37ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1130
+  (0.1ms) rollback transaction
1131
+  (0.0ms) begin transaction
1132
+ Started PATCH "/clusters/test_cluster/topics/test-ff92ca0d20db5be61e43bb82.json" for 127.0.0.1 at 2018-12-12 23:59:51 -0800
1133
+ Processing by KafkaCommand::TopicsController#update as JSON
1134
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-ff92ca0d20db5be61e43bb82"}
1135
+ Completed 422 Unprocessable Entity in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1136
+  (0.1ms) rollback transaction
1137
+  (0.1ms) begin transaction
1138
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:51 -0800
1139
+ Processing by KafkaCommand::TopicsController#create as JSON
1140
+ Parameters: {"name"=>"test-4d39424164808e2e14f618d7", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1141
+ Completed 201 Created in 123ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1142
+  (0.1ms) rollback transaction
1143
+  (0.1ms) begin transaction
1144
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:51 -0800
1145
+ Processing by KafkaCommand::TopicsController#create as JSON
1146
+ Parameters: {"name"=>"test-27a44870b5679d4809ee8286", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1147
+ Completed 422 Unprocessable Entity in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1148
+  (0.1ms) rollback transaction
1149
+  (0.1ms) begin transaction
1150
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:51 -0800
1151
+ Processing by KafkaCommand::TopicsController#create as JSON
1152
+ Parameters: {"name"=>"test-01eedd30f76c40ff1277a287", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1153
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1154
+  (0.1ms) rollback transaction
1155
+  (0.0ms) begin transaction
1156
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1157
+ Processing by KafkaCommand::TopicsController#create as JSON
1158
+ Parameters: {"name"=>"test-71e536010af3f543180ef049", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1159
+ Completed 422 Unprocessable Entity in 27ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1160
+  (0.1ms) rollback transaction
1161
+  (0.1ms) begin transaction
1162
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1163
+ Processing by KafkaCommand::TopicsController#create as JSON
1164
+ Parameters: {"name"=>"test-2abb91ef5b8a58ee4feba3b2", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1165
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1166
+  (0.1ms) rollback transaction
1167
+  (0.0ms) begin transaction
1168
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1169
+ Processing by KafkaCommand::TopicsController#create as JSON
1170
+ Parameters: {"name"=>"test-2de308599504771e2f2be3e2", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1171
+ Completed 422 Unprocessable Entity in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1172
+  (0.1ms) rollback transaction
1173
+  (0.0ms) begin transaction
1174
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1175
+ Processing by KafkaCommand::TopicsController#create as JSON
1176
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1177
+ Completed 422 Unprocessable Entity in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1178
+  (0.1ms) rollback transaction
1179
+  (0.1ms) begin transaction
1180
+ Started GET "/clusters/test_cluster/topics/test-7127441b1418f58f28301e31.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1181
+ Processing by KafkaCommand::TopicsController#show as JSON
1182
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-7127441b1418f58f28301e31"}
1183
+ Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1184
+  (0.1ms) rollback transaction
1185
+  (0.0ms) begin transaction
1186
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-12 23:59:52 -0800
1187
+ Processing by KafkaCommand::TopicsController#show as JSON
1188
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1189
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1190
+  (1.8ms) rollback transaction
1191
+  (0.1ms) begin transaction
1192
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-12 23:59:53 -0800
1193
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1194
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1195
+ Completed 404 Not Found in 23ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1196
+  (0.1ms) rollback transaction
1197
+  (0.0ms) begin transaction
1198
+ Started DELETE "/clusters/test_cluster/topics/test-936d27d386bb1acc970b9bd4.json" for 127.0.0.1 at 2018-12-12 23:59:53 -0800
1199
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1200
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-936d27d386bb1acc970b9bd4"}
1201
+ Completed 204 No Content in 17ms (ActiveRecord: 0.0ms)
1202
+  (0.1ms) rollback transaction
1203
+  (0.2ms) begin transaction
1204
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1205
+ Processing by KafkaCommand::BrokersController#index as JSON
1206
+ Parameters: {"cluster_id"=>"test_cluster"}
1207
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1208
+  (0.1ms) rollback transaction
1209
+  (0.1ms) begin transaction
1210
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1211
+ Processing by KafkaCommand::BrokersController#show as JSON
1212
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
1213
+ Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1214
+  (0.2ms) rollback transaction
1215
+  (0.1ms) begin transaction
1216
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1217
+ Processing by KafkaCommand::BrokersController#show as JSON
1218
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1219
+ Completed 404 Not Found in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1220
+  (0.1ms) rollback transaction
1221
+  (0.1ms) begin transaction
1222
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1223
+ Processing by KafkaCommand::ClustersController#index as JSON
1224
+ Completed 200 OK in 58ms (Views: 43.4ms | ActiveRecord: 0.0ms)
1225
+  (0.2ms) rollback transaction
1226
+  (0.0ms) begin transaction
1227
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1228
+ Processing by KafkaCommand::ClustersController#index as JSON
1229
+ Parameters: {"name"=>"unknown"}
1230
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1231
+  (0.1ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1234
+ Processing by KafkaCommand::ClustersController#index as JSON
1235
+ Parameters: {"name"=>"test_cluster"}
1236
+ Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 0.0ms)
1237
+  (0.1ms) rollback transaction
1238
+  (0.1ms) begin transaction
1239
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1240
+ Processing by KafkaCommand::ClustersController#show as JSON
1241
+ Parameters: {"id"=>"doesnotexist"}
1242
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1243
+  (0.0ms) rollback transaction
1244
+  (0.0ms) begin transaction
1245
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-13 00:00:34 -0800
1246
+ Processing by KafkaCommand::ClustersController#show as JSON
1247
+ Parameters: {"id"=>"test_cluster"}
1248
+ Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 0.0ms)
1249
+  (0.1ms) rollback transaction
1250
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1251
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1252
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1253
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1254
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1255
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1256
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1257
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1258
+  (0.1ms) SELECT sqlite_version(*)
1259
+  (1.8ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1260
+  (1.4ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1261
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1262
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1263
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1264
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1265
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1266
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1267
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1268
+  (0.0ms) begin transaction
1269
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 08:02:25.133316"], ["updated_at", "2018-12-13 08:02:25.133316"]]
1270
+  (1.0ms) commit transaction
1271
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1272
+  (0.0ms) begin transaction
1273
+  (0.0ms) commit transaction
1274
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1275
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1276
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1277
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1278
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1279
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1280
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1281
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1282
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1283
+  (0.1ms) SELECT sqlite_version(*)
1284
+  (2.1ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1285
+  (2.0ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1286
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1287
+  (1.6ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1288
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1289
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1290
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1291
+  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1292
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1293
+  (0.1ms) begin transaction
1294
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-13 08:24:33.182271"], ["updated_at", "2018-12-13 08:24:33.182271"]]
1295
+  (1.2ms) commit transaction
1296
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1297
+  (0.1ms) begin transaction
1298
+  (0.1ms) commit transaction
1299
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1300
+  (0.3ms) begin transaction
1301
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-13 00:25:29 -0800
1302
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1303
+ Parameters: {"cluster_id"=>"test_cluster"}
1304
+ Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1305
+  (0.1ms) rollback transaction
1306
+  (0.1ms) begin transaction
1307
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=unknown" for 127.0.0.1 at 2018-12-13 00:25:33 -0800
1308
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1309
+ Parameters: {"group_id"=>"unknown", "cluster_id"=>"test_cluster"}
1310
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1311
+  (0.1ms) rollback transaction
1312
+  (0.1ms) begin transaction
1313
+ Started GET "/clusters/test_cluster//consumer_groups.json?group_id=test-group-49c0cbad8d7ab750318c0e65" for 127.0.0.1 at 2018-12-13 00:25:38 -0800
1314
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1315
+ Parameters: {"group_id"=>"test-group-49c0cbad8d7ab750318c0e65", "cluster_id"=>"test_cluster"}
1316
+ Completed 200 OK in 18ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1317
+  (0.1ms) rollback transaction
1318
+  (0.1ms) begin transaction
1319
+ Started GET "/clusters/test_cluster//consumer_groups.json" for 127.0.0.1 at 2018-12-13 00:25:40 -0800
1320
+ Processing by KafkaCommand::ConsumerGroupsController#index as JSON
1321
+ Parameters: {"cluster_id"=>"test_cluster"}
1322
+ Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1323
+  (0.6ms) rollback transaction
1324
+  (0.1ms) begin transaction
1325
+ Started GET "/clusters/test_cluster//consumer_groups/doesnotexists.json" for 127.0.0.1 at 2018-12-13 00:25:40 -0800
1326
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1327
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexists"}
1328
+ Completed 404 Not Found in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1329
+  (0.2ms) rollback transaction
1330
+  (0.1ms) begin transaction
1331
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-8525b2c27e11f9443acdf5d5.json" for 127.0.0.1 at 2018-12-13 00:25:42 -0800
1332
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1333
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-8525b2c27e11f9443acdf5d5"}
1334
+ Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1335
+  (0.1ms) rollback transaction
1336
+  (0.0ms) begin transaction
1337
+ Started GET "/clusters/test_cluster//consumer_groups/test-group-b22e4ce6da41043886a76c69.json" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1338
+ Processing by KafkaCommand::ConsumerGroupsController#show as JSON
1339
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-group-b22e4ce6da41043886a76c69"}
1340
+ Completed 200 OK in 16ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1341
+  (0.1ms) rollback transaction
1342
+  (0.1ms) begin transaction
1343
+ Started GET "/clusters/test_cluster.json" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1344
+ Processing by KafkaCommand::ClustersController#show as JSON
1345
+ Parameters: {"id"=>"test_cluster"}
1346
+ Completed 200 OK in 30ms (Views: 23.7ms | ActiveRecord: 0.0ms)
1347
+  (0.1ms) rollback transaction
1348
+  (0.0ms) begin transaction
1349
+ Started GET "/clusters/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1350
+ Processing by KafkaCommand::ClustersController#show as JSON
1351
+ Parameters: {"id"=>"doesnotexist"}
1352
+ Completed 404 Not Found in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1353
+  (0.0ms) rollback transaction
1354
+  (0.1ms) begin transaction
1355
+ Started GET "/clusters.json" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1356
+ Processing by KafkaCommand::ClustersController#index as JSON
1357
+ Completed 200 OK in 61ms (Views: 46.1ms | ActiveRecord: 0.0ms)
1358
+  (0.2ms) rollback transaction
1359
+  (0.0ms) begin transaction
1360
+ Started GET "/clusters.json?name=test_cluster" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1361
+ Processing by KafkaCommand::ClustersController#index as JSON
1362
+ Parameters: {"name"=>"test_cluster"}
1363
+ Completed 200 OK in 25ms (Views: 21.0ms | ActiveRecord: 0.0ms)
1364
+  (0.1ms) rollback transaction
1365
+  (0.0ms) begin transaction
1366
+ Started GET "/clusters.json?name=unknown" for 127.0.0.1 at 2018-12-13 00:25:44 -0800
1367
+ Processing by KafkaCommand::ClustersController#index as JSON
1368
+ Parameters: {"name"=>"unknown"}
1369
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1370
+  (0.1ms) rollback transaction
1371
+  (0.1ms) begin transaction
1372
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1373
+ Processing by KafkaCommand::BrokersController#index as JSON
1374
+ Parameters: {"cluster_id"=>"test_cluster"}
1375
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1376
+  (0.1ms) rollback transaction
1377
+  (0.1ms) begin transaction
1378
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1379
+ Processing by KafkaCommand::BrokersController#show as JSON
1380
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1381
+ Completed 404 Not Found in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1382
+  (0.1ms) rollback transaction
1383
+  (0.0ms) begin transaction
1384
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1385
+ Processing by KafkaCommand::BrokersController#show as JSON
1386
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
1387
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1388
+  (0.1ms) rollback transaction
1389
+  (0.1ms) begin transaction
1390
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1391
+ Processing by KafkaCommand::TopicsController#show as JSON
1392
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1393
+ Completed 404 Not Found in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1394
+  (0.1ms) rollback transaction
1395
+  (0.1ms) begin transaction
1396
+ Started GET "/clusters/test_cluster/topics/test-fabacc5348613d9ea27578cf.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1397
+ Processing by KafkaCommand::TopicsController#show as JSON
1398
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-fabacc5348613d9ea27578cf"}
1399
+ Completed 200 OK in 17ms (Views: 1.6ms | ActiveRecord: 0.0ms)
1400
+  (0.1ms) rollback transaction
1401
+  (0.0ms) begin transaction
1402
+ Started PATCH "/clusters/test_cluster/topics/test-8f9fa20d65783265e7b5ce58.json" for 127.0.0.1 at 2018-12-13 00:25:52 -0800
1403
+ Processing by KafkaCommand::TopicsController#update as JSON
1404
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-8f9fa20d65783265e7b5ce58"}
1405
+ Completed 200 OK in 56ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1406
+  (0.1ms) rollback transaction
1407
+  (0.1ms) begin transaction
1408
+ Started PATCH "/clusters/test_cluster/topics/test-a079f00b98cca69d16a8f19f.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1409
+ Processing by KafkaCommand::TopicsController#update as JSON
1410
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-a079f00b98cca69d16a8f19f"}
1411
+ Completed 422 Unprocessable Entity in 33ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1412
+  (0.1ms) rollback transaction
1413
+  (0.1ms) begin transaction
1414
+ Started PATCH "/clusters/test_cluster/topics/test-f40cc1db4396794b5690c115.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1415
+ Processing by KafkaCommand::TopicsController#update as JSON
1416
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-f40cc1db4396794b5690c115"}
1417
+ Completed 422 Unprocessable Entity in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1418
+  (0.1ms) rollback transaction
1419
+  (0.1ms) begin transaction
1420
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1421
+ Processing by KafkaCommand::TopicsController#update as JSON
1422
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
1423
+ Completed 404 Not Found in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1424
+  (0.1ms) rollback transaction
1425
+  (0.1ms) begin transaction
1426
+ Started DELETE "/clusters/test_cluster/topics/test-4927a874d7a8bd4162533115.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1427
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1428
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-4927a874d7a8bd4162533115"}
1429
+ Completed 204 No Content in 13ms (ActiveRecord: 0.0ms)
1430
+  (0.1ms) rollback transaction
1431
+  (0.1ms) begin transaction
1432
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1433
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1434
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1435
+ Completed 404 Not Found in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1436
+  (0.5ms) rollback transaction
1437
+  (0.1ms) begin transaction
1438
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1439
+ Processing by KafkaCommand::TopicsController#index as JSON
1440
+ Parameters: {"cluster_id"=>"test_cluster"}
1441
+ Completed 200 OK in 72ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1442
+  (0.1ms) rollback transaction
1443
+  (0.1ms) begin transaction
1444
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-13 00:25:53 -0800
1445
+ Processing by KafkaCommand::TopicsController#index as JSON
1446
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
1447
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1448
+  (0.1ms) rollback transaction
1449
+  (0.1ms) begin transaction
1450
+ Started GET "/clusters/test_cluster/topics.json?name=test-edefd9463280ad0dd4fa8757" for 127.0.0.1 at 2018-12-13 00:25:54 -0800
1451
+ Processing by KafkaCommand::TopicsController#index as JSON
1452
+ Parameters: {"name"=>"test-edefd9463280ad0dd4fa8757", "cluster_id"=>"test_cluster"}
1453
+ Completed 200 OK in 11ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1454
+  (0.1ms) rollback transaction
1455
+  (0.1ms) begin transaction
1456
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:54 -0800
1457
+ Processing by KafkaCommand::TopicsController#create as JSON
1458
+ Parameters: {"name"=>"test-08d6a7f753c815689fe472ff", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1459
+ Completed 201 Created in 88ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1460
+  (0.1ms) rollback transaction
1461
+  (0.2ms) begin transaction
1462
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:54 -0800
1463
+ Processing by KafkaCommand::TopicsController#create as JSON
1464
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1465
+ Completed 422 Unprocessable Entity in 11ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1466
+  (0.1ms) rollback transaction
1467
+  (0.1ms) begin transaction
1468
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:54 -0800
1469
+ Processing by KafkaCommand::TopicsController#create as JSON
1470
+ Parameters: {"name"=>"test-984227a3146a2cde0cabbee2", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1471
+ Completed 422 Unprocessable Entity in 13ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1472
+  (0.1ms) rollback transaction
1473
+  (0.0ms) begin transaction
1474
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:54 -0800
1475
+ Processing by KafkaCommand::TopicsController#create as JSON
1476
+ Parameters: {"name"=>"test-98b7160c6b472ebd10c2f966", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1477
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1478
+  (0.1ms) rollback transaction
1479
+  (0.1ms) begin transaction
1480
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:55 -0800
1481
+ Processing by KafkaCommand::TopicsController#create as JSON
1482
+ Parameters: {"name"=>"test-6be87080917692d01d553b2b", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1483
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1484
+  (0.1ms) rollback transaction
1485
+  (0.1ms) begin transaction
1486
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:55 -0800
1487
+ Processing by KafkaCommand::TopicsController#create as JSON
1488
+ Parameters: {"name"=>"test-cd94c359c04114df9b9c2f2a", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1489
+ Completed 422 Unprocessable Entity in 13ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1490
+  (0.1ms) rollback transaction
1491
+  (0.0ms) begin transaction
1492
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-13 00:25:55 -0800
1493
+ Processing by KafkaCommand::TopicsController#create as JSON
1494
+ Parameters: {"name"=>"test-c49a19155518bcea0ea50240", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1495
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1496
+  (0.1ms) rollback transaction
1497
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1498
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1499
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1500
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1501
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1502
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1503
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1504
+  (0.2ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1505
+  (0.1ms) SELECT sqlite_version(*)
1506
+  (2.5ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1507
+  (1.5ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1508
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1509
+  (2.0ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1510
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1511
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1512
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1513
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1514
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1515
+  (0.0ms) begin transaction
1516
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-18 06:01:36.025367"], ["updated_at", "2018-12-18 06:01:36.025367"]]
1517
+  (1.1ms) commit transaction
1518
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1519
+  (0.1ms) begin transaction
1520
+  (0.0ms) commit transaction
1521
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1522
+  (0.1ms) begin transaction
1523
+ Started PATCH "/clusters/test_cluster/topics/test-dc7d09f641729a1a1faf0114.json" for 127.0.0.1 at 2018-12-17 22:01:36 -0800
1524
+ Processing by KafkaCommand::TopicsController#update as JSON
1525
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-dc7d09f641729a1a1faf0114"}
1526
+ Completed 200 OK in 94ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1527
+  (0.1ms) rollback transaction
1528
+  (0.1ms) begin transaction
1529
+ Started PATCH "/clusters/test_cluster/topics/test-548c50cd600e0c92ef35972a.json" for 127.0.0.1 at 2018-12-17 22:01:37 -0800
1530
+ Processing by KafkaCommand::TopicsController#update as JSON
1531
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-548c50cd600e0c92ef35972a"}
1532
+ Completed 422 Unprocessable Entity in 11ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1533
+  (0.1ms) rollback transaction
1534
+  (0.1ms) begin transaction
1535
+ Started PATCH "/clusters/test_cluster/topics/test-10e2a119cee866bec1ca2dc5.json" for 127.0.0.1 at 2018-12-17 22:01:38 -0800
1536
+ Processing by KafkaCommand::TopicsController#update as JSON
1537
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-10e2a119cee866bec1ca2dc5"}
1538
+ Completed 422 Unprocessable Entity in 42ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1539
+  (0.1ms) rollback transaction
1540
+  (0.0ms) begin transaction
1541
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-17 22:01:38 -0800
1542
+ Processing by KafkaCommand::TopicsController#update as JSON
1543
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
1544
+ Completed 404 Not Found in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1545
+  (0.1ms) rollback transaction
1546
+  (0.1ms) begin transaction
1547
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:39 -0800
1548
+ Processing by KafkaCommand::TopicsController#create as JSON
1549
+ Parameters: {"name"=>"test-6346a37935e0cd3fdc229041", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1550
+ Completed 201 Created in 73ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1551
+  (0.1ms) rollback transaction
1552
+  (0.0ms) begin transaction
1553
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:39 -0800
1554
+ Processing by KafkaCommand::TopicsController#create as JSON
1555
+ Parameters: {"name"=>"test-e412b1f343784c39a80bef15", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1556
+ Completed 422 Unprocessable Entity in 13ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1557
+  (0.1ms) rollback transaction
1558
+  (0.0ms) begin transaction
1559
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:40 -0800
1560
+ Processing by KafkaCommand::TopicsController#create as JSON
1561
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1562
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1563
+  (0.1ms) rollback transaction
1564
+  (0.0ms) begin transaction
1565
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:41 -0800
1566
+ Processing by KafkaCommand::TopicsController#create as JSON
1567
+ Parameters: {"name"=>"test-87974f41aecc46428ac0fe9c", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1568
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1569
+  (0.1ms) rollback transaction
1570
+  (0.1ms) begin transaction
1571
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:41 -0800
1572
+ Processing by KafkaCommand::TopicsController#create as JSON
1573
+ Parameters: {"name"=>"test-aec7b4024b23062e4717fc8f", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1574
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1575
+  (0.1ms) rollback transaction
1576
+  (0.0ms) begin transaction
1577
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:42 -0800
1578
+ Processing by KafkaCommand::TopicsController#create as JSON
1579
+ Parameters: {"name"=>"test-7380b9afac7b5153d2f0aac0", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1580
+ Completed 422 Unprocessable Entity in 17ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1581
+  (0.1ms) rollback transaction
1582
+  (0.1ms) begin transaction
1583
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:42 -0800
1584
+ Processing by KafkaCommand::TopicsController#create as JSON
1585
+ Parameters: {"name"=>"test-fc6ccbac0287f2a7e2229621", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1586
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1587
+  (0.1ms) rollback transaction
1588
+  (0.1ms) begin transaction
1589
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-17 22:01:43 -0800
1590
+ Processing by KafkaCommand::TopicsController#show as JSON
1591
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1592
+ Completed 404 Not Found in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1593
+  (0.1ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+ Started GET "/clusters/test_cluster/topics/test-c11bd798521440145e42fdd4.json" for 127.0.0.1 at 2018-12-17 22:01:44 -0800
1596
+ Processing by KafkaCommand::TopicsController#show as JSON
1597
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-c11bd798521440145e42fdd4"}
1598
+ Completed 200 OK in 31ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1599
+  (0.1ms) rollback transaction
1600
+  (0.1ms) begin transaction
1601
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:01:45 -0800
1602
+ Processing by KafkaCommand::TopicsController#index as JSON
1603
+ Parameters: {"cluster_id"=>"test_cluster"}
1604
+ Completed 200 OK in 386ms (Views: 11.8ms | ActiveRecord: 0.0ms)
1605
+  (0.1ms) rollback transaction
1606
+  (0.0ms) begin transaction
1607
+ Started GET "/clusters/test_cluster/topics.json?name=test-b6520b5d989f1458005d8969" for 127.0.0.1 at 2018-12-17 22:01:46 -0800
1608
+ Processing by KafkaCommand::TopicsController#index as JSON
1609
+ Parameters: {"name"=>"test-b6520b5d989f1458005d8969", "cluster_id"=>"test_cluster"}
1610
+ Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1611
+  (0.1ms) rollback transaction
1612
+  (0.0ms) begin transaction
1613
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-17 22:01:47 -0800
1614
+ Processing by KafkaCommand::TopicsController#index as JSON
1615
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
1616
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1617
+  (0.1ms) rollback transaction
1618
+  (0.0ms) begin transaction
1619
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-17 22:01:49 -0800
1620
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1621
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1622
+ Completed 404 Not Found in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1623
+  (0.1ms) rollback transaction
1624
+  (0.0ms) begin transaction
1625
+ Started DELETE "/clusters/test_cluster/topics/test-c629bae5f8296132e7146fdc.json" for 127.0.0.1 at 2018-12-17 22:01:49 -0800
1626
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1627
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-c629bae5f8296132e7146fdc"}
1628
+ Completed 204 No Content in 17ms (ActiveRecord: 0.0ms)
1629
+  (0.1ms) rollback transaction
1630
+  (0.0ms) begin transaction
1631
+ Started DELETE "/clusters/test_cluster/topics/__consumer_offsets.json" for 127.0.0.1 at 2018-12-17 22:01:50 -0800
1632
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1633
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"__consumer_offsets"}
1634
+ Completed 422 Unprocessable Entity in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1635
+  (0.1ms) rollback transaction
1636
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1637
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1638
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1639
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1640
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1641
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1642
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1643
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1644
+  (0.1ms) SELECT sqlite_version(*)
1645
+  (2.2ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1646
+  (1.6ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1647
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1648
+  (1.4ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1649
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1650
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1651
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1652
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1653
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1654
+  (0.1ms) begin transaction
1655
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-18 06:02:09.271695"], ["updated_at", "2018-12-18 06:02:09.271695"]]
1656
+  (1.1ms) commit transaction
1657
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1658
+  (0.0ms) begin transaction
1659
+  (0.0ms) commit transaction
1660
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1661
+  (0.1ms) begin transaction
1662
+ Started GET "/clusters/test_cluster/topics/test-84a8b5c78ae83eb1638d4182.json" for 127.0.0.1 at 2018-12-17 22:02:10 -0800
1663
+ Processing by KafkaCommand::TopicsController#show as JSON
1664
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-84a8b5c78ae83eb1638d4182"}
1665
+ Completed 200 OK in 18ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1666
+  (0.1ms) rollback transaction
1667
+  (0.1ms) begin transaction
1668
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-17 22:02:10 -0800
1669
+ Processing by KafkaCommand::TopicsController#show as JSON
1670
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1671
+ Completed 404 Not Found in 16ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1672
+  (0.1ms) rollback transaction
1673
+  (0.1ms) begin transaction
1674
+ Started PATCH "/clusters/test_cluster/topics/test-f02f7abf17283be5c7f2ecf1.json" for 127.0.0.1 at 2018-12-17 22:02:11 -0800
1675
+ Processing by KafkaCommand::TopicsController#update as JSON
1676
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-f02f7abf17283be5c7f2ecf1"}
1677
+ Completed 200 OK in 54ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1678
+  (0.1ms) rollback transaction
1679
+  (0.0ms) begin transaction
1680
+ Started PATCH "/clusters/test_cluster/topics/test-a49084824902746ab1c784b1.json" for 127.0.0.1 at 2018-12-17 22:02:11 -0800
1681
+ Processing by KafkaCommand::TopicsController#update as JSON
1682
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-a49084824902746ab1c784b1"}
1683
+ Completed 422 Unprocessable Entity in 56ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1684
+  (0.1ms) rollback transaction
1685
+  (0.0ms) begin transaction
1686
+ Started PATCH "/clusters/test_cluster/topics/test-5fc63e0711157f2a90039fcd.json" for 127.0.0.1 at 2018-12-17 22:02:12 -0800
1687
+ Processing by KafkaCommand::TopicsController#update as JSON
1688
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-5fc63e0711157f2a90039fcd"}
1689
+ Completed 422 Unprocessable Entity in 14ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1690
+  (0.1ms) rollback transaction
1691
+  (0.1ms) begin transaction
1692
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-17 22:02:13 -0800
1693
+ Processing by KafkaCommand::TopicsController#update as JSON
1694
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
1695
+ Completed 404 Not Found in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1696
+  (0.1ms) rollback transaction
1697
+  (0.0ms) begin transaction
1698
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:14 -0800
1699
+ Processing by KafkaCommand::TopicsController#index as JSON
1700
+ Parameters: {"cluster_id"=>"test_cluster"}
1701
+ Completed 200 OK in 455ms (Views: 13.9ms | ActiveRecord: 0.0ms)
1702
+  (0.1ms) rollback transaction
1703
+  (0.0ms) begin transaction
1704
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-17 22:02:15 -0800
1705
+ Processing by KafkaCommand::TopicsController#index as JSON
1706
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
1707
+ Completed 200 OK in 30ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1708
+  (0.1ms) rollback transaction
1709
+  (0.0ms) begin transaction
1710
+ Started GET "/clusters/test_cluster/topics.json?name=test-167bd0953c21d34f34f9ecc2" for 127.0.0.1 at 2018-12-17 22:02:16 -0800
1711
+ Processing by KafkaCommand::TopicsController#index as JSON
1712
+ Parameters: {"name"=>"test-167bd0953c21d34f34f9ecc2", "cluster_id"=>"test_cluster"}
1713
+ Completed 200 OK in 44ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1714
+  (0.1ms) rollback transaction
1715
+  (0.0ms) begin transaction
1716
+ Started DELETE "/clusters/test_cluster/topics/test-75289f6f2a77e2d22ef707c5.json" for 127.0.0.1 at 2018-12-17 22:02:17 -0800
1717
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1718
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-75289f6f2a77e2d22ef707c5"}
1719
+ Completed 204 No Content in 32ms (ActiveRecord: 0.0ms)
1720
+  (0.1ms) rollback transaction
1721
+  (0.1ms) begin transaction
1722
+ Started DELETE "/clusters/test_cluster/topics/__consumer_offsets.json" for 127.0.0.1 at 2018-12-17 22:02:18 -0800
1723
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1724
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"__consumer_offsets"}
1725
+ Completed 422 Unprocessable Entity in 15ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1726
+  (0.1ms) rollback transaction
1727
+  (0.1ms) begin transaction
1728
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-17 22:02:19 -0800
1729
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1730
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1731
+ Completed 404 Not Found in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1732
+  (0.1ms) rollback transaction
1733
+  (0.1ms) begin transaction
1734
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:20 -0800
1735
+ Processing by KafkaCommand::TopicsController#create as JSON
1736
+ Parameters: {"name"=>"test-f3fc2d4b248a9d9d13c2c0cf", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1737
+ Completed 201 Created in 73ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1738
+  (0.2ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:20 -0800
1741
+ Processing by KafkaCommand::TopicsController#create as JSON
1742
+ Parameters: {"name"=>"test-797528b54f8417cffedd22c1", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1743
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1744
+  (0.1ms) rollback transaction
1745
+  (0.1ms) begin transaction
1746
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:21 -0800
1747
+ Processing by KafkaCommand::TopicsController#create as JSON
1748
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1749
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1750
+  (0.1ms) rollback transaction
1751
+  (0.0ms) begin transaction
1752
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:21 -0800
1753
+ Processing by KafkaCommand::TopicsController#create as JSON
1754
+ Parameters: {"name"=>"test-6a7a76328c1d7c5371f89bfd", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1755
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1756
+  (0.1ms) rollback transaction
1757
+  (0.0ms) begin transaction
1758
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:22 -0800
1759
+ Processing by KafkaCommand::TopicsController#create as JSON
1760
+ Parameters: {"name"=>"test-1d9d7d173a799f7e8ad21794", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1761
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1762
+  (0.1ms) rollback transaction
1763
+  (0.1ms) begin transaction
1764
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:23 -0800
1765
+ Processing by KafkaCommand::TopicsController#create as JSON
1766
+ Parameters: {"name"=>"test-18bfe7b08da9a74cedd58a62", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1767
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1768
+  (0.1ms) rollback transaction
1769
+  (0.0ms) begin transaction
1770
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-17 22:02:23 -0800
1771
+ Processing by KafkaCommand::TopicsController#create as JSON
1772
+ Parameters: {"name"=>"test-cd699190766ec3fa21939354", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1773
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1774
+  (0.1ms) rollback transaction
1775
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1776
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1777
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1778
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1779
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1780
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1781
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1782
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1783
+  (0.1ms) SELECT sqlite_version(*)
1784
+  (2.4ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1785
+  (1.3ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1786
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1787
+  (2.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1788
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1789
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1790
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1791
+  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1792
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1793
+  (0.1ms) begin transaction
1794
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-19 05:11:30.993616"], ["updated_at", "2018-12-19 05:11:30.993616"]]
1795
+  (1.2ms) commit transaction
1796
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1797
+  (0.0ms) begin transaction
1798
+  (0.0ms) commit transaction
1799
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1800
+  (0.1ms) begin transaction
1801
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-18 21:11:42 -0800
1802
+ Processing by KafkaCommand::TopicsController#update as JSON
1803
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
1804
+ Completed 404 Not Found in 23ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1805
+  (0.1ms) rollback transaction
1806
+  (0.0ms) begin transaction
1807
+ Started PATCH "/clusters/test_cluster/topics/test-4209f2565aeee96a5c87366b.json" for 127.0.0.1 at 2018-12-18 21:11:43 -0800
1808
+ Processing by KafkaCommand::TopicsController#update as JSON
1809
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-4209f2565aeee96a5c87366b"}
1810
+ Completed 200 OK in 103ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1811
+  (0.2ms) rollback transaction
1812
+  (0.1ms) begin transaction
1813
+ Started PATCH "/clusters/test_cluster/topics/test-a4af31103c1bae6166c15ba3.json" for 127.0.0.1 at 2018-12-18 21:11:44 -0800
1814
+ Processing by KafkaCommand::TopicsController#update as JSON
1815
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-a4af31103c1bae6166c15ba3"}
1816
+ Completed 422 Unprocessable Entity in 51ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1817
+  (0.1ms) rollback transaction
1818
+  (0.1ms) begin transaction
1819
+ Started PATCH "/clusters/test_cluster/topics/test-f5408763ff071baec5204fce.json" for 127.0.0.1 at 2018-12-18 21:11:44 -0800
1820
+ Processing by KafkaCommand::TopicsController#update as JSON
1821
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-f5408763ff071baec5204fce"}
1822
+ Completed 422 Unprocessable Entity in 18ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1823
+  (0.1ms) rollback transaction
1824
+  (0.0ms) begin transaction
1825
+ Started DELETE "/clusters/test_cluster/topics/test-bea00ad71bdf99cb0418ed17.json" for 127.0.0.1 at 2018-12-18 21:11:45 -0800
1826
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1827
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-bea00ad71bdf99cb0418ed17"}
1828
+ Completed 204 No Content in 45ms (ActiveRecord: 0.0ms)
1829
+  (0.2ms) rollback transaction
1830
+  (0.0ms) begin transaction
1831
+ Started DELETE "/clusters/test_cluster/topics/__consumer_offsets.json" for 127.0.0.1 at 2018-12-18 21:11:46 -0800
1832
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1833
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"__consumer_offsets"}
1834
+ Completed 422 Unprocessable Entity in 15ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1835
+  (0.1ms) rollback transaction
1836
+  (0.0ms) begin transaction
1837
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:11:47 -0800
1838
+ Processing by KafkaCommand::TopicsController#destroy as JSON
1839
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1840
+ Completed 404 Not Found in 22ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1841
+  (0.1ms) rollback transaction
1842
+  (0.0ms) begin transaction
1843
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:48 -0800
1844
+ Processing by KafkaCommand::TopicsController#index as JSON
1845
+ Parameters: {"cluster_id"=>"test_cluster"}
1846
+ Completed 200 OK in 988ms (Views: 20.9ms | ActiveRecord: 0.0ms)
1847
+  (0.1ms) rollback transaction
1848
+  (0.0ms) begin transaction
1849
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-18 21:11:50 -0800
1850
+ Processing by KafkaCommand::TopicsController#index as JSON
1851
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
1852
+ Completed 200 OK in 45ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1853
+  (0.1ms) rollback transaction
1854
+  (0.1ms) begin transaction
1855
+ Started GET "/clusters/test_cluster/topics.json?name=test-ab4b10277d3661956b2f1a42" for 127.0.0.1 at 2018-12-18 21:11:51 -0800
1856
+ Processing by KafkaCommand::TopicsController#index as JSON
1857
+ Parameters: {"name"=>"test-ab4b10277d3661956b2f1a42", "cluster_id"=>"test_cluster"}
1858
+ Completed 200 OK in 24ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1859
+  (0.1ms) rollback transaction
1860
+  (0.0ms) begin transaction
1861
+ Started GET "/clusters/test_cluster/topics/test-48f7ffea49a970ee0d4e6ba7.json" for 127.0.0.1 at 2018-12-18 21:11:52 -0800
1862
+ Processing by KafkaCommand::TopicsController#show as JSON
1863
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-48f7ffea49a970ee0d4e6ba7"}
1864
+ Completed 200 OK in 24ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1865
+  (0.1ms) rollback transaction
1866
+  (0.1ms) begin transaction
1867
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:11:52 -0800
1868
+ Processing by KafkaCommand::TopicsController#show as JSON
1869
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1870
+ Completed 404 Not Found in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1871
+  (0.1ms) rollback transaction
1872
+  (0.1ms) begin transaction
1873
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:53 -0800
1874
+ Processing by KafkaCommand::TopicsController#create as JSON
1875
+ Parameters: {"name"=>"test-6bbeff7f7307dd6191dbe8ad", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1876
+ Completed 201 Created in 68ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1877
+  (0.1ms) rollback transaction
1878
+  (0.1ms) begin transaction
1879
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:54 -0800
1880
+ Processing by KafkaCommand::TopicsController#create as JSON
1881
+ Parameters: {"name"=>"test-b5cf75022b6b7ade8e59c3c1", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1882
+ Completed 422 Unprocessable Entity in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1883
+  (0.1ms) rollback transaction
1884
+  (0.0ms) begin transaction
1885
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:54 -0800
1886
+ Processing by KafkaCommand::TopicsController#create as JSON
1887
+ Parameters: {"name"=>"test-f94f70e6cb9a916b021e21ab", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1888
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1889
+  (0.1ms) rollback transaction
1890
+  (0.0ms) begin transaction
1891
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:55 -0800
1892
+ Processing by KafkaCommand::TopicsController#create as JSON
1893
+ Parameters: {"name"=>"test-3d5091d0f1dc71dbe96b007e", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1894
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1895
+  (0.1ms) rollback transaction
1896
+  (0.0ms) begin transaction
1897
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:55 -0800
1898
+ Processing by KafkaCommand::TopicsController#create as JSON
1899
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1900
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1901
+  (0.1ms) rollback transaction
1902
+  (0.0ms) begin transaction
1903
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:56 -0800
1904
+ Processing by KafkaCommand::TopicsController#create as JSON
1905
+ Parameters: {"name"=>"test-2367437c2c5d7627d7c47a28", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1906
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1907
+  (0.1ms) rollback transaction
1908
+  (0.0ms) begin transaction
1909
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:11:57 -0800
1910
+ Processing by KafkaCommand::TopicsController#create as JSON
1911
+ Parameters: {"name"=>"test-3aa477a67325fbaf3a08f917", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1912
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1913
+  (0.1ms) rollback transaction
1914
+  (0.1ms) begin transaction
1915
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:12:18 -0800
1916
+ Processing by KafkaCommand::BrokersController#show as JSON
1917
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1918
+ Completed 404 Not Found in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1919
+  (0.1ms) rollback transaction
1920
+  (0.1ms) begin transaction
1921
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-18 21:12:18 -0800
1922
+ Processing by KafkaCommand::BrokersController#show as JSON
1923
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
1924
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1925
+  (0.1ms) rollback transaction
1926
+  (0.0ms) begin transaction
1927
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-18 21:12:18 -0800
1928
+ Processing by KafkaCommand::BrokersController#index as JSON
1929
+ Parameters: {"cluster_id"=>"test_cluster"}
1930
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1931
+  (0.1ms) rollback transaction
1932
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1933
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1934
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1935
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1936
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1937
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1938
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
1939
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_brokers"
1940
+  (0.1ms) SELECT sqlite_version(*)
1941
+  (1.7ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1942
+  (1.5ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
1943
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
1944
+  (1.6ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1945
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1946
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1947
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
1948
+  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1949
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1950
+  (0.1ms) begin transaction
1951
+ ActiveRecord::InternalMetadata Create (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-19 05:27:36.248573"], ["updated_at", "2018-12-19 05:27:36.248573"]]
1952
+  (1.3ms) commit transaction
1953
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
1954
+  (0.1ms) begin transaction
1955
+  (0.0ms) commit transaction
1956
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1957
+  (0.1ms) begin transaction
1958
+ Started GET "/clusters/test_cluster/brokers/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:27:58 -0800
1959
+ Processing by KafkaCommand::BrokersController#show as JSON
1960
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
1961
+ Completed 404 Not Found in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1962
+  (0.1ms) rollback transaction
1963
+  (0.0ms) begin transaction
1964
+ Started GET "/clusters/test_cluster/brokers/1001.json" for 127.0.0.1 at 2018-12-18 21:27:58 -0800
1965
+ Processing by KafkaCommand::BrokersController#show as JSON
1966
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"1001"}
1967
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1968
+  (0.1ms) rollback transaction
1969
+  (0.0ms) begin transaction
1970
+ Started GET "/clusters/test_cluster/brokers.json" for 127.0.0.1 at 2018-12-18 21:27:58 -0800
1971
+ Processing by KafkaCommand::BrokersController#index as JSON
1972
+ Parameters: {"cluster_id"=>"test_cluster"}
1973
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1974
+  (0.0ms) rollback transaction
1975
+  (0.0ms) begin transaction
1976
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:27:59 -0800
1977
+ Processing by KafkaCommand::TopicsController#create as JSON
1978
+ Parameters: {"name"=>"test-46627c28737e5acf4d32ca8e", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1979
+ Completed 201 Created in 116ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1980
+  (0.1ms) rollback transaction
1981
+  (0.0ms) begin transaction
1982
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:27:59 -0800
1983
+ Processing by KafkaCommand::TopicsController#create as JSON
1984
+ Parameters: {"name"=>"test-64fd5453b5315834e3b54322", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
1985
+ Completed 422 Unprocessable Entity in 13ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1986
+  (0.1ms) rollback transaction
1987
+  (0.0ms) begin transaction
1988
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:00 -0800
1989
+ Processing by KafkaCommand::TopicsController#create as JSON
1990
+ Parameters: {"name"=>"test-02d6f1ea6a4a888e8151270d", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1991
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1992
+  (0.1ms) rollback transaction
1993
+  (0.0ms) begin transaction
1994
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:01 -0800
1995
+ Processing by KafkaCommand::TopicsController#create as JSON
1996
+ Parameters: {"name"=>"test-d16dc75b6bf579cfcea69d1b", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
1997
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1998
+  (0.1ms) rollback transaction
1999
+  (0.0ms) begin transaction
2000
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:01 -0800
2001
+ Processing by KafkaCommand::TopicsController#create as JSON
2002
+ Parameters: {"name"=>"test-e67d699245734aad042892fb", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2003
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2004
+  (0.1ms) rollback transaction
2005
+  (0.0ms) begin transaction
2006
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:02 -0800
2007
+ Processing by KafkaCommand::TopicsController#create as JSON
2008
+ Parameters: {"name"=>"test-4e834657cf93f8b944d34346", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2009
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2010
+  (0.1ms) rollback transaction
2011
+  (0.0ms) begin transaction
2012
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:02 -0800
2013
+ Processing by KafkaCommand::TopicsController#create as JSON
2014
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2015
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2016
+  (0.1ms) rollback transaction
2017
+  (0.0ms) begin transaction
2018
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:28:04 -0800
2019
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2020
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
2021
+ Completed 404 Not Found in 9ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2022
+  (0.1ms) rollback transaction
2023
+  (0.1ms) begin transaction
2024
+ Started DELETE "/clusters/test_cluster/topics/test-ffc8062b6cf93599157908d5.json" for 127.0.0.1 at 2018-12-18 21:28:04 -0800
2025
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2026
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-ffc8062b6cf93599157908d5"}
2027
+ Completed 204 No Content in 15ms (ActiveRecord: 0.0ms)
2028
+  (0.1ms) rollback transaction
2029
+  (0.1ms) begin transaction
2030
+ Started DELETE "/clusters/test_cluster/topics/__consumer_offsets.json" for 127.0.0.1 at 2018-12-18 21:28:05 -0800
2031
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2032
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"__consumer_offsets"}
2033
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2034
+  (0.1ms) rollback transaction
2035
+  (0.1ms) begin transaction
2036
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-18 21:28:05 -0800
2037
+ Processing by KafkaCommand::TopicsController#update as JSON
2038
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
2039
+ Completed 404 Not Found in 11ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2040
+  (0.1ms) rollback transaction
2041
+  (0.0ms) begin transaction
2042
+ Started PATCH "/clusters/test_cluster/topics/test-df3b7b5dce8ddf8692ceadd8.json" for 127.0.0.1 at 2018-12-18 21:28:06 -0800
2043
+ Processing by KafkaCommand::TopicsController#update as JSON
2044
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-df3b7b5dce8ddf8692ceadd8"}
2045
+ Completed 200 OK in 55ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2046
+  (0.2ms) rollback transaction
2047
+  (0.0ms) begin transaction
2048
+ Started PATCH "/clusters/test_cluster/topics/test-1505ffe64826e430453a838a.json" for 127.0.0.1 at 2018-12-18 21:28:07 -0800
2049
+ Processing by KafkaCommand::TopicsController#update as JSON
2050
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-1505ffe64826e430453a838a"}
2051
+ Completed 422 Unprocessable Entity in 47ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2052
+  (0.1ms) rollback transaction
2053
+  (0.1ms) begin transaction
2054
+ Started PATCH "/clusters/test_cluster/topics/test-65d9966a55755d08a33c5f26.json" for 127.0.0.1 at 2018-12-18 21:28:07 -0800
2055
+ Processing by KafkaCommand::TopicsController#update as JSON
2056
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-65d9966a55755d08a33c5f26"}
2057
+ Completed 422 Unprocessable Entity in 40ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2058
+  (0.1ms) rollback transaction
2059
+  (0.0ms) begin transaction
2060
+ Started GET "/clusters/test_cluster/topics/test-20357e53baf790156db08115.json" for 127.0.0.1 at 2018-12-18 21:28:08 -0800
2061
+ Processing by KafkaCommand::TopicsController#show as JSON
2062
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-20357e53baf790156db08115"}
2063
+ Completed 200 OK in 20ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2064
+  (0.1ms) rollback transaction
2065
+  (0.0ms) begin transaction
2066
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:28:08 -0800
2067
+ Processing by KafkaCommand::TopicsController#show as JSON
2068
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
2069
+ Completed 404 Not Found in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2070
+  (0.1ms) rollback transaction
2071
+  (0.1ms) begin transaction
2072
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:28:10 -0800
2073
+ Processing by KafkaCommand::TopicsController#index as JSON
2074
+ Parameters: {"cluster_id"=>"test_cluster"}
2075
+ Completed 200 OK in 354ms (Views: 7.8ms | ActiveRecord: 0.0ms)
2076
+  (0.1ms) rollback transaction
2077
+  (0.0ms) begin transaction
2078
+ Started GET "/clusters/test_cluster/topics.json?name=test-3eeb6c274c1800958b8a8e34" for 127.0.0.1 at 2018-12-18 21:28:11 -0800
2079
+ Processing by KafkaCommand::TopicsController#index as JSON
2080
+ Parameters: {"name"=>"test-3eeb6c274c1800958b8a8e34", "cluster_id"=>"test_cluster"}
2081
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2082
+  (0.1ms) rollback transaction
2083
+  (0.0ms) begin transaction
2084
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-18 21:28:12 -0800
2085
+ Processing by KafkaCommand::TopicsController#index as JSON
2086
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
2087
+ Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2088
+  (0.1ms) rollback transaction
2089
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2090
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2091
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
2092
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2093
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
2094
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2095
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
2096
+  (0.2ms) DROP TABLE IF EXISTS "kafka_command_brokers"
2097
+  (0.1ms) SELECT sqlite_version(*)
2098
+  (1.9ms) CREATE TABLE "kafka_command_brokers" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "host" varchar, "kafka_broker_id" integer, "cluster_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2099
+  (1.5ms) CREATE INDEX "index_kafka_command_brokers_on_cluster_id" ON "kafka_command_brokers" ("cluster_id")
2100
+  (0.1ms) DROP TABLE IF EXISTS "kafka_command_clusters"
2101
+  (1.5ms) CREATE TABLE "kafka_command_clusters" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "version" varchar, "description" text, "sasl_scram_username" varchar, "encrypted_sasl_scram_password" varchar, "encrypted_sasl_scram_password_iv" varchar, "sasl_scram_mechanism" varchar, "encrypted_ssl_ca_cert" varchar, "encrypted_ssl_ca_cert_iv" varchar, "encrypted_ssl_client_cert" varchar, "encrypted_ssl_client_cert_iv" varchar, "encrypted_ssl_client_cert_key" varchar, "encrypted_ssl_client_cert_key_iv" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2102
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2103
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2104
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20181124002014)
2105
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2106
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2107
+  (0.0ms) begin transaction
2108
+ ActiveRecord::InternalMetadata Create (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-12-19 05:31:15.339815"], ["updated_at", "2018-12-19 05:31:15.339815"]]
2109
+  (1.1ms) commit transaction
2110
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2111
+  (0.0ms) begin transaction
2112
+  (0.1ms) commit transaction
2113
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2114
+  (0.1ms) begin transaction
2115
+ Started GET "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:31:37 -0800
2116
+ Processing by KafkaCommand::TopicsController#show as JSON
2117
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
2118
+ Completed 404 Not Found in 30ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2119
+  (0.1ms) rollback transaction
2120
+  (0.0ms) begin transaction
2121
+ Started GET "/clusters/test_cluster/topics/test-2b79a7692bc2bb8dd2c053c4.json" for 127.0.0.1 at 2018-12-18 21:31:38 -0800
2122
+ Processing by KafkaCommand::TopicsController#show as JSON
2123
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-2b79a7692bc2bb8dd2c053c4"}
2124
+ Completed 200 OK in 21ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2125
+  (0.1ms) rollback transaction
2126
+  (0.0ms) begin transaction
2127
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:38 -0800
2128
+ Processing by KafkaCommand::TopicsController#create as JSON
2129
+ Parameters: {"name"=>"test-6894bd577f6ea1b06f956acb", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2130
+ Completed 201 Created in 88ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2131
+  (0.1ms) rollback transaction
2132
+  (0.0ms) begin transaction
2133
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:39 -0800
2134
+ Processing by KafkaCommand::TopicsController#create as JSON
2135
+ Parameters: {"name"=>"test-74e1be05396de82a183e6a63", "replication_factor"=>"0", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2136
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2137
+  (0.1ms) rollback transaction
2138
+  (0.1ms) begin transaction
2139
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:40 -0800
2140
+ Processing by KafkaCommand::TopicsController#create as JSON
2141
+ Parameters: {"name"=>"test-b0b45f35ace0733ff6610210", "replication_factor"=>"2", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2142
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2143
+  (0.1ms) rollback transaction
2144
+  (0.0ms) begin transaction
2145
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:40 -0800
2146
+ Processing by KafkaCommand::TopicsController#create as JSON
2147
+ Parameters: {"name"=>"test-32111190893536e4eb3a10f0", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2148
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2149
+  (0.1ms) rollback transaction
2150
+  (0.1ms) begin transaction
2151
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:41 -0800
2152
+ Processing by KafkaCommand::TopicsController#create as JSON
2153
+ Parameters: {"name"=>"test-55d59d1f1412610e61bc3332", "replication_factor"=>"1", "num_partitions"=>"-1", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2154
+ Completed 422 Unprocessable Entity in 6ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2155
+  (0.1ms) rollback transaction
2156
+  (0.0ms) begin transaction
2157
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:41 -0800
2158
+ Processing by KafkaCommand::TopicsController#create as JSON
2159
+ Parameters: {"name"=>"test-9e60f8d9f33115f9b415a815", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"-1", "cluster_id"=>"test_cluster"}
2160
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2161
+  (0.1ms) rollback transaction
2162
+  (0.0ms) begin transaction
2163
+ Started POST "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:42 -0800
2164
+ Processing by KafkaCommand::TopicsController#create as JSON
2165
+ Parameters: {"name"=>"", "replication_factor"=>"1", "num_partitions"=>"5", "retention_bytes"=>"10000", "retention_ms"=>"1024", "max_message_bytes"=>"10000", "cluster_id"=>"test_cluster"}
2166
+ Completed 422 Unprocessable Entity in 5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2167
+  (0.2ms) rollback transaction
2168
+  (0.1ms) begin transaction
2169
+ Started DELETE "/clusters/test_cluster/topics/test-6fdde7b25e3cdf56e9aad7a9.json" for 127.0.0.1 at 2018-12-18 21:31:43 -0800
2170
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2171
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"test-6fdde7b25e3cdf56e9aad7a9"}
2172
+ Completed 204 No Content in 39ms (ActiveRecord: 0.0ms)
2173
+  (0.1ms) rollback transaction
2174
+  (0.0ms) begin transaction
2175
+ Started DELETE "/clusters/test_cluster/topics/__consumer_offsets.json" for 127.0.0.1 at 2018-12-18 21:31:43 -0800
2176
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2177
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"__consumer_offsets"}
2178
+ Completed 422 Unprocessable Entity in 38ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2179
+  (0.1ms) rollback transaction
2180
+  (0.0ms) begin transaction
2181
+ Started DELETE "/clusters/test_cluster/topics/doesnotexist.json" for 127.0.0.1 at 2018-12-18 21:31:45 -0800
2182
+ Processing by KafkaCommand::TopicsController#destroy as JSON
2183
+ Parameters: {"cluster_id"=>"test_cluster", "id"=>"doesnotexist"}
2184
+ Completed 404 Not Found in 11ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2185
+  (0.1ms) rollback transaction
2186
+  (0.0ms) begin transaction
2187
+ Started GET "/clusters/test_cluster/topics.json" for 127.0.0.1 at 2018-12-18 21:31:46 -0800
2188
+ Processing by KafkaCommand::TopicsController#index as JSON
2189
+ Parameters: {"cluster_id"=>"test_cluster"}
2190
+ Completed 200 OK in 874ms (Views: 19.5ms | ActiveRecord: 0.0ms)
2191
+  (0.1ms) rollback transaction
2192
+  (0.0ms) begin transaction
2193
+ Started GET "/clusters/test_cluster/topics.json?name=unknown" for 127.0.0.1 at 2018-12-18 21:31:48 -0800
2194
+ Processing by KafkaCommand::TopicsController#index as JSON
2195
+ Parameters: {"name"=>"unknown", "cluster_id"=>"test_cluster"}
2196
+ Completed 200 OK in 32ms (Views: 0.2ms | ActiveRecord: 0.0ms)
2197
+  (0.1ms) rollback transaction
2198
+  (0.1ms) begin transaction
2199
+ Started GET "/clusters/test_cluster/topics.json?name=test-cf3fcf29182ac89e801645ab" for 127.0.0.1 at 2018-12-18 21:31:49 -0800
2200
+ Processing by KafkaCommand::TopicsController#index as JSON
2201
+ Parameters: {"name"=>"test-cf3fcf29182ac89e801645ab", "cluster_id"=>"test_cluster"}
2202
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2203
+  (0.1ms) rollback transaction
2204
+  (0.1ms) begin transaction
2205
+ Started PATCH "/clusters/test_cluster/topics/nonexistent.json" for 127.0.0.1 at 2018-12-18 21:31:49 -0800
2206
+ Processing by KafkaCommand::TopicsController#update as JSON
2207
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"nonexistent"}
2208
+ Completed 404 Not Found in 46ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2209
+  (0.1ms) rollback transaction
2210
+  (0.0ms) begin transaction
2211
+ Started PATCH "/clusters/test_cluster/topics/test-89eb5d702ca40cc93290e0de.json" for 127.0.0.1 at 2018-12-18 21:31:50 -0800
2212
+ Processing by KafkaCommand::TopicsController#update as JSON
2213
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-89eb5d702ca40cc93290e0de"}
2214
+ Completed 200 OK in 52ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2215
+  (0.1ms) rollback transaction
2216
+  (0.0ms) begin transaction
2217
+ Started PATCH "/clusters/test_cluster/topics/test-062a50d3760725a05d322661.json" for 127.0.0.1 at 2018-12-18 21:31:51 -0800
2218
+ Processing by KafkaCommand::TopicsController#update as JSON
2219
+ Parameters: {"num_partitions"=>"6", "retention_bytes"=>"1024", "max_message_bytes"=>"-1", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-062a50d3760725a05d322661"}
2220
+ Completed 422 Unprocessable Entity in 35ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2221
+  (0.1ms) rollback transaction
2222
+  (0.1ms) begin transaction
2223
+ Started PATCH "/clusters/test_cluster/topics/test-b2f2cbcbf278159adf7595f5.json" for 127.0.0.1 at 2018-12-18 21:31:51 -0800
2224
+ Processing by KafkaCommand::TopicsController#update as JSON
2225
+ Parameters: {"num_partitions"=>"4", "retention_bytes"=>"1024", "max_message_bytes"=>"1024", "retention_ms"=>"1024", "cluster_id"=>"test_cluster", "id"=>"test-b2f2cbcbf278159adf7595f5"}
2226
+ Completed 422 Unprocessable Entity in 31ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2227
+  (0.1ms) rollback transaction