logstash-input-azure_event_hubs 1.1.3 → 1.1.4

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: 0ce1293dd83e610effb52c31c5aed6e6b565de16a373631956777e339f76343c
4
- data.tar.gz: a1456715ca44e1b9eb749d2abc93f392d792f9246538d74fd469ea6821f63c91
3
+ metadata.gz: 4dcc045714f46695cef8987d6c568d0222f603d795e14dd29d4d4b473bbd4f41
4
+ data.tar.gz: e69a6f42084ea5e6c4422f63aa94ae50c8c5aa292f216c3de30e066d78fa2cae
5
5
  SHA512:
6
- metadata.gz: 9ad2df11598dc8b07fd01ffe414ea67d8a3b779c396077a2c1bb4aa5019065ee589f5f8015a763df8b2813181c4790d3a73410acf080429e4a9351168bb3570d
7
- data.tar.gz: 94598d9b66bd83e232c2b808c2945e0bb234a118cad2ec7d824c6abd44daa1c97a2d740e20ac02eb0fbd97253adf71d9cf94a5a0bc9cbea246a142b53700c62a
6
+ metadata.gz: c00d6e820334a00c64d9b1b9ed358deee11df1e2ff81ffc2d8a47741fb81b7e6ddb9e6fdbe60a9e82e094334ca854869275470f1ab52c79066e69b6aed159594
7
+ data.tar.gz: 723964b7b0dfadad14756fad6f9f236b040c0e0993a59e5ef9f798b1faa36ca9fcd6adccfc2587958f3ab8e02fa04c6f30b63cb311f2c062f50d150d061075ad
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.1.4
2
+ - Fixed missing configuration of the `max_batch_size`setting [#52](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/52)
3
+
1
4
  ## 1.1.3
2
5
  - [DOC] Added clarification for threads parameter [#50](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/50)
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.4
@@ -409,6 +409,7 @@ class LogStash::Inputs::AzureEventHubs < LogStash::Inputs::Base
409
409
  checkpoint_manager.java_send :initialize, [HostContext], event_processor_host.getHostContext
410
410
  end
411
411
  options = EventProcessorOptions.new
412
+ options.setMaxBatchSize(max_batch_size)
412
413
  options.setExceptionNotification(LogStash::Inputs::Azure::ErrorNotificationHandler.new)
413
414
  case @initial_position
414
415
  when 'beginning'
@@ -26,7 +26,7 @@ module LogStash
26
26
  end
27
27
 
28
28
  def onEvents(context, batch)
29
- @logger.debug("Event Hub: #{context.getEventHubPath.to_s}, Partition: #{context.getPartitionId.to_s} is processing a batch.") if @logger.debug?
29
+ @logger.debug("Event Hub: #{context.getEventHubPath.to_s}, Partition: #{context.getPartitionId.to_s} is processing a batch of size #{batch.size}.") if @logger.debug?
30
30
  last_payload = nil
31
31
  batch_size = 0
32
32
  batch.each do |payload|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-azure_event_hubs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-28 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement