Skip to content

Commit c49c7ef

Browse files
jsvdkaisechenglogstashmachine
authored
Add documentation to "threads" option (#95)
Co-authored-by: kaisecheng <[email protected]> Co-authored-by: logstashmachine <[email protected]>
1 parent 71d3ee5 commit c49c7ef

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.7.1
2+
- Add documentation to "threads" option [#95](https://github.com/logstash-plugins/logstash-input-redis/pull/95)
3+
14
## 3.7.0
25
- Fix: better (Redis) exception handling [#89](https://github.com/logstash-plugins/logstash-input-redis/pull/89)
36
- Test: start running integration specs on CI

docs/index.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ Enable SSL support.
156156
* Value type is <<number,number>>
157157
* Default value is `1`
158158

159+
Number of instances of the input to start, each on its own thread.
160+
Increase from one to improve concurrency in consuming messages from Redis.
159161

162+
NOTE: Increasing the number of threads when consuming from a channel will result in duplicate messages since a `SUBSCRIBE` delivers each message to all subscribers.
160163

161164
[id="plugins-{type}s-{plugin}-timeout"]
162165
===== `timeout`
@@ -169,4 +172,4 @@ Initial connection timeout in seconds.
169172
[id="plugins-{type}s-{plugin}-common-options"]
170173
include::{include_path}/{type}.asciidoc[]
171174

172-
:default_codec!:
175+
:default_codec!:

logstash-input-redis.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-input-redis'
4-
s.version = '3.7.0'
4+
s.version = '3.7.1'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Reads events from a Redis instance"
77
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)