racecar 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/racecar.rb +4 -0
- data/lib/racecar/cli.rb +1 -1
- data/lib/racecar/config.rb +3 -0
- data/lib/racecar/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9808fa9b69cd97d91c47686eb0dad2ab32067ee5656b9356981cbe3f9fd601e
|
|
4
|
+
data.tar.gz: 41fb0f0534f86a093e4a2f93f459fc7411fabc8764fe388e5a1bdb446b6ba30e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d89573210bc7293105eda4a93560f51c2521b1a7e5ec044375539d8fd39a0f4a78321313e13fb58fa87f99c0e9fe5e758cf594d4adbd8388568d55d84a658a7
|
|
7
|
+
data.tar.gz: 663e5e97c0b2693e600b74fe7f7474c509933c7b60529c5e27943cb909aa392e0410ea7625c7f2e1f9d6f3b13646e7112eff7c26c2d20c7f55fad29f33785acc
|
data/README.md
CHANGED
|
@@ -332,6 +332,9 @@ Racecar supports configuring ruby-kafka's [Datadog](https://www.datadoghq.com/)
|
|
|
332
332
|
* `datadog_namespace` – The namespace to use for Datadog metrics.
|
|
333
333
|
* `datadog_tags` – Tags that should always be set on Datadog metrics.
|
|
334
334
|
|
|
335
|
+
#### Consumers Without Rails ####
|
|
336
|
+
|
|
337
|
+
By default, if Rails is detected, it will be automatically started when the consumer is started. There are cases where you might not want or need Rails. You can pass the `--without-rails` option when starting the consumer and Rails won't be started.
|
|
335
338
|
|
|
336
339
|
### Testing consumers
|
|
337
340
|
|
data/lib/racecar.rb
CHANGED
data/lib/racecar/cli.rb
CHANGED
data/lib/racecar/config.rb
CHANGED
|
@@ -130,6 +130,9 @@ module Racecar
|
|
|
130
130
|
desc "Whether to check the server certificate is valid for the hostname"
|
|
131
131
|
boolean :ssl_verify_hostname, default: true
|
|
132
132
|
|
|
133
|
+
desc "Whether to boot Rails when starting the consumer"
|
|
134
|
+
boolean :without_rails, default: false
|
|
135
|
+
|
|
133
136
|
# The error handler must be set directly on the object.
|
|
134
137
|
attr_reader :error_handler
|
|
135
138
|
|
data/lib/racecar/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: racecar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Schierbeck
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: king_konf
|
|
@@ -145,7 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
|
-
|
|
148
|
+
rubyforge_project:
|
|
149
|
+
rubygems_version: 2.7.6
|
|
149
150
|
signing_key:
|
|
150
151
|
specification_version: 4
|
|
151
152
|
summary: A framework for running Kafka consumers
|