jruby-kafka 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jruby-kafka/group.rb +17 -17
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b35dfb83e50e1362ee256245f71ca6cb6a1f8f6
4
- data.tar.gz: b3150ea89bf69749f87b5a20734101126ddaf3b5
3
+ metadata.gz: 144db4d77ca7bcb9425e281e2ed8d4d97d3c24e4
4
+ data.tar.gz: 03180288c2fcd4e946db55da05b0e1715cb538d6
5
5
  SHA512:
6
- metadata.gz: 2c2a6ef16503adb6afe836526c8b052ec3ab6c8fa1e0956d65c622ab314d350b5316c94ea46ad642d657c774e77aef76d4ae9ee40ae057db9f9b5bff75d412df
7
- data.tar.gz: 083ccc699375cfc9aba9acfa4ca618954a4b50a5e8ca3d4fb8255fa47105d1ada2571c37c38b51009c21fe627a32df133f79c2664dd4f1140e4ecac72102f692
6
+ metadata.gz: 848f00094231f294053385d87d51a86a18989f27c2a782284eb17e320500d13847c5952afc670e4a2cb9579b1f5c62e15635b9cd30b36d0393bdf7f743be6543
7
+ data.tar.gz: 4ac3da4caf9557b24ca99563c55456d6c26cf2c627038d0f4626eb6fd9e4b98472e14d5c4923680f5a9b6a1cd42cfb59f4f73d8bff56d30221af7e503a99ecb3
@@ -53,40 +53,40 @@ class Kafka::Group
53
53
  @fetch_wait_max_ms = '100'
54
54
  @refresh_leader_backoff_ms = '200'
55
55
  @consumer_timeout_ms = '-1'
56
- @consumer_restart_on_error = "#{true}"
56
+ @consumer_restart_on_error = "#{false}"
57
57
  @consumer_restart_sleep_ms = '2000'
58
58
 
59
59
  if options[:zk_connect_timeout]
60
- @zk_connect_timeout = options[:zk_connect_timeout]
60
+ @zk_connect_timeout = "#{options[:zk_connect_timeout]}"
61
61
  end
62
62
  if options[:zk_session_timeout]
63
- @zk_session_timeout = options[:zk_session_timeout]
63
+ @zk_session_timeout = "#{options[:zk_session_timeout]}"
64
64
  end
65
65
  if options[:zk_sync_time]
66
- @zk_sync_time = options[:zk_sync_time]
66
+ @zk_sync_time = "#{options[:zk_sync_time]}"
67
67
  end
68
68
  if options[:auto_commit_interval]
69
- @auto_commit_interval = options[:auto_commit_interval]
69
+ @auto_commit_interval = "#{options[:auto_commit_interval]}"
70
70
  end
71
71
 
72
72
  if options[:rebalance_max_retries]
73
- @rebalance_max_retries = options[:rebalance_max_retries]
73
+ @rebalance_max_retries = "#{options[:rebalance_max_retries]}"
74
74
  end
75
75
 
76
76
  if options[:rebalance_backoff_ms]
77
- @rebalance_backoff_ms = options[:rebalance_backoff_ms]
77
+ @rebalance_backoff_ms = "#{options[:rebalance_backoff_ms]}"
78
78
  end
79
79
 
80
80
  if options[:socket_timeout_ms]
81
- @socket_timeout_ms = options[:socket_timeout_ms]
81
+ @socket_timeout_ms = "#{options[:socket_timeout_ms]}"
82
82
  end
83
83
 
84
84
  if options[:socket_receive_buffer_bytes]
85
- @socket_receive_buffer_bytes = options[:socket_receive_buffer_bytes]
85
+ @socket_receive_buffer_bytes = "#{options[:socket_receive_buffer_bytes]}"
86
86
  end
87
87
 
88
88
  if options[:fetch_message_max_bytes]
89
- @fetch_message_max_bytes = options[:fetch_message_max_bytes]
89
+ @fetch_message_max_bytes = "#{options[:fetch_message_max_bytes]}"
90
90
  end
91
91
 
92
92
  if options[:auto_commit_enable]
@@ -94,31 +94,31 @@ class Kafka::Group
94
94
  end
95
95
 
96
96
  if options[:queued_max_message_chunks]
97
- @queued_max_message_chunks = options[:queued_max_message_chunks]
97
+ @queued_max_message_chunks = "#{options[:queued_max_message_chunks]}"
98
98
  end
99
99
 
100
100
  if options[:fetch_min_bytes]
101
- @fetch_min_bytes = options[:fetch_min_bytes]
101
+ @fetch_min_bytes = "#{options[:fetch_min_bytes]}"
102
102
  end
103
103
 
104
104
  if options[:fetch_wait_max_ms]
105
- @fetch_wait_max_ms = options[:fetch_wait_max_ms]
105
+ @fetch_wait_max_ms = "#{options[:fetch_wait_max_ms]}"
106
106
  end
107
107
 
108
108
  if options[:refresh_leader_backoff_ms]
109
- @refresh_leader_backoff_ms = options[:refresh_leader_backoff_ms]
109
+ @refresh_leader_backoff_ms = "#{options[:refresh_leader_backoff_ms]}"
110
110
  end
111
111
 
112
112
  if options[:consumer_timeout_ms]
113
- @consumer_timeout_ms = options[:consumer_timeout_ms]
113
+ @consumer_timeout_ms = "#{options[:consumer_timeout_ms]}"
114
114
  end
115
115
 
116
116
  if options[:consumer_restart_on_error]
117
- @consumer_restart_on_error = options[:consumer_restart_on_error]
117
+ @consumer_restart_on_error = "#{options[:consumer_restart_on_error]}"
118
118
  end
119
119
 
120
120
  if options[:consumer_restart_sleep_ms]
121
- @consumer_restart_sleep_ms = options[:consumer_restart_sleep_ms]
121
+ @consumer_restart_sleep_ms = "#{options[:consumer_restart_sleep_ms]}"
122
122
  end
123
123
 
124
124
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jruby-kafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Lawson