logstash-plugins / logstash-input-azure_event_hubs

Logstash input for consuming events from Azure Event Hubs
Apache License 2.0
18 stars 28 forks source link

Plugin should fail with a configuration error when specified with multiple event hubs and no storage connection #78

Open robbavey opened 2 years ago

robbavey commented 2 years ago

When the storage_connection is not set in the azure event hub configuration, the InMemoryLeaseManager is used. This appears to be incompatible with using > 1 eventhub set via the advanced configuration, reporting the initial lease to the first eventhub as lost when subsequent leases to further event hubs are discovered. This leads to subscriptions to the first event hub being lost, and no further events from that eventhub will be processed.