jruby-kafka 0.0.7 → 0.0.8
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/lib/jruby-kafka/group.rb +17 -17
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 144db4d77ca7bcb9425e281e2ed8d4d97d3c24e4
|
4
|
+
data.tar.gz: 03180288c2fcd4e946db55da05b0e1715cb538d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 848f00094231f294053385d87d51a86a18989f27c2a782284eb17e320500d13847c5952afc670e4a2cb9579b1f5c62e15635b9cd30b36d0393bdf7f743be6543
|
7
|
+
data.tar.gz: 4ac3da4caf9557b24ca99563c55456d6c26cf2c627038d0f4626eb6fd9e4b98472e14d5c4923680f5a9b6a1cd42cfb59f4f73d8bff56d30221af7e503a99ecb3
|
data/lib/jruby-kafka/group.rb
CHANGED
@@ -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 = "#{
|
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
|
|