ruby-kafka-ec2 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e6d39fb8a782c1075f0454a2bc0479fafb12d380ad0bd78ba938d218af57e23
|
4
|
+
data.tar.gz: 2f339e9dc2ea096376b53fb4f9413a46da5f3bdcd7ff86c6b4854f3d8928cbf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f77547fc1fb5b92b12b12857114218b0d3d055863ffe8c3a972a3255cbc781d6e441ae11ce5e8772add6d5be26113e5f874a3a333da0c1a5d6483e0b187141cd
|
7
|
+
data.tar.gz: 1a87e14365f4a49b139787d55aae75ac8e4131a4ed6fd766a9a55a297bcf4f613a2c5ecf062f84fb5fd69cfc792d2d623f8aef2a1285f2126f768da1e75566af
|
@@ -12,6 +12,7 @@ module Kafka
|
|
12
12
|
def initialize(instance_family_weights: {}, availability_zone_weights: {}, weights: {})
|
13
13
|
@instance_family_weights = instance_family_weights
|
14
14
|
@availability_zone_weights = availability_zone_weights
|
15
|
+
@weights = weights
|
15
16
|
end
|
16
17
|
|
17
18
|
def create(cluster:)
|
@@ -19,6 +20,7 @@ module Kafka
|
|
19
20
|
cluster: cluster,
|
20
21
|
instance_family_weights: @instance_family_weights,
|
21
22
|
availability_zone_weights: @availability_zone_weights,
|
23
|
+
weights: @weights,
|
22
24
|
)
|
23
25
|
end
|
24
26
|
end
|
data/lib/kafka/ec2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-kafka-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- abicky
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-kafka
|