This is a strange one. Running tests on docker, prior to this test, the call to when_complete using a block
for the BiConsumer parameter would fail with the following error:
[2022-06-08T15:31:49,587][ERROR][logstash.inputs.azureeventhubs] Event Hub failed during initialization. {:event_hub_name=>"event_hub_name0", :exception=>#<ArgumentError: wrong number of arguments (given 0, expected 1)>, :backtrace=>["/usr/share/plugins/plugin/lib/logstash/inputs/azure_event_hubs.rb:435:in `block in run'"]}
Running the tests locally, this does not fail on my development machine (MacOsX x86_64), but does
fail in the dockerized test environment. Attempting to create a simple reproducer against a BiConsumer also
does not fail.
…or on jruby-9.3.4.0 on docker
This is a strange one. Running tests on docker, prior to this test, the call to when_complete using a block for the BiConsumer parameter would fail with the following error:
Running the tests locally, this does not fail on my development machine (MacOsX x86_64), but does fail in the dockerized test environment. Attempting to create a simple reproducer against a BiConsumer also does not fail.