Skip to content

Commit

Permalink
Increase the default number of threads to 16 (#54)
Browse files Browse the repository at this point in the history
* Increase the default number of threads to 16

Increase the default number of threads passed to the EventProcessorHost
to 16, to match the standard default.

* Bump version, add changelog
  • Loading branch information
robbavey committed Mar 12, 2020
1 parent f3b70bf commit 37d8f72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.2.0
- Changed the default number of threads from `4` to `16` to match the default number from the Azure-Sdk EventProcessorHost [#54](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/54)

## 1.1.4
- Fixed missing configuration of the `max_batch_size`setting [#52](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/52)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.4
1.2.0
4 changes: 2 additions & 2 deletions lib/logstash/inputs/azure_event_hubs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ class LogStash::Inputs::AzureEventHubs < LogStash::Inputs::Base

# Total threads used process events. Requires at minimum 2 threads. This option can not be set per Event Hub.
# azure_event_hubs {
# threads => 4
# threads => 16
# }
config :threads, :validate => :number, :default => 4
config :threads, :validate => :number, :default => 16

# Consumer group used to read the Event Hub(s). It is recommended to change from the $Default to a consumer group specifically for Logstash, and ensure that all instances of Logstash use that consumer group.
# basic Example:
Expand Down

0 comments on commit 37d8f72

Please sign in to comment.