logstash-input-azure_event_hubs 1.1.1 → 1.1.2
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/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/logstash/inputs/azure_event_hubs.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 001aa77367fd050d9edebcfcf724d72604b3b6061723aa93352b152cd3f5960e
|
4
|
+
data.tar.gz: 530ac6d7857229963ea3434f91b0e20b5f3e13e85b179f376476dc4abf96dcb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a9e5ad779cf7f39bd49f9e7e45937d3ae63859162e831e093993c98c24fdd45143f45a2e711f617af3a1834943c7e543d1627145f023fefe42f8f1fe9dd126f
|
7
|
+
data.tar.gz: 96e5c2e500da4c5c9c0b43ef41c7e49f5d752422eea4a5191c8627c0f19f501bb72a762ad39f106c33434ba866626f7577de52864c2b67c9666bb31622e8caba
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 1.1.2
|
2
|
+
- Added workaround to fix errors when using this plugin with Java 11[#38](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/38)
|
3
|
+
|
1
4
|
## 1.1.1
|
2
5
|
- Updated Azure event hub library dependencies[#36](https://github.com/logstash-plugins/logstash-input-azure_event_hubs/pull/36)
|
3
6
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
@@ -429,26 +429,26 @@ class LogStash::Inputs::AzureEventHubs < LogStash::Inputs::Base
|
|
429
429
|
end
|
430
430
|
event_processor_host.registerEventProcessorFactory(LogStash::Inputs::Azure::ProcessorFactory.new(queue, event_hub['codec'], event_hub['checkpoint_interval'], self.method(:decorate), event_hub['decorate_events']), options)
|
431
431
|
.whenComplete {|x, e|
|
432
|
-
@logger.info("Event Hub registration complete. ", :event_hub_name =>
|
433
|
-
@logger.error("Event Hub failure while registering.", :event_hub_name =>
|
432
|
+
@logger.info("Event Hub registration complete. ", :event_hub_name => event_hub_name )
|
433
|
+
@logger.error("Event Hub failure while registering.", :event_hub_name => event_hub_name, :exception => e, :backtrace => e.backtrace) if e
|
434
434
|
}
|
435
435
|
.then_accept {|x|
|
436
|
-
@logger.info("Event Hub is processing events... ", :event_hub_name =>
|
436
|
+
@logger.info("Event Hub is processing events... ", :event_hub_name => event_hub_name )
|
437
437
|
# this blocks the completable future chain from progressing, actual work is done via the executor service
|
438
438
|
while !stop?
|
439
439
|
Stud.stoppable_sleep(1) {stop?}
|
440
440
|
end
|
441
441
|
}
|
442
442
|
.thenCompose {|x|
|
443
|
-
@logger.info("Unregistering Event Hub this can take a while... ", :event_hub_name =>
|
443
|
+
@logger.info("Unregistering Event Hub this can take a while... ", :event_hub_name => event_hub_name )
|
444
444
|
event_processor_host.unregisterEventProcessor
|
445
445
|
}
|
446
446
|
.exceptionally {|e|
|
447
|
-
@logger.error("Event Hub encountered an error.", :event_hub_name =>
|
447
|
+
@logger.error("Event Hub encountered an error.", :event_hub_name => event_hub_name , :exception => e, :backtrace => e.backtrace) if e
|
448
448
|
nil
|
449
449
|
}
|
450
450
|
.get # this blocks till all of the futures are complete.
|
451
|
-
@logger.info("Event Hub #{
|
451
|
+
@logger.info("Event Hub #{event_hub_name} is closed.")
|
452
452
|
rescue => e
|
453
453
|
@logger.error("Event Hub failed during initialization.", :event_hub_name => event_hub_name, :exception => e, :backtrace => e.backtrace) if e
|
454
454
|
do_stop
|
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.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|