logstash-plugins / logstash-input-google_pubsub

Logstash input for pulling events from Google Pub/Sub service
Apache License 2.0
19 stars 33 forks source link

Issue #34 Fix - Rollback Guava to v19 #35

Closed tacomafour closed 6 years ago

tacomafour commented 6 years ago

As documented in Issue #34, the Guava version in 1.2.0 was set to 20. The problem is that LogStash 6.2.4's lib/ directory includes Guava 19. Thus, whenever this plugin is installed, a NoSuchMethodError is thrown on server startup (related to a Precondition.check() call being made).

By rolling back to Guava 19, this synchronizes the Guava between this plugin and LogStash 6.2.4.

I set gradle and the gem file to point to 19, and rolled the version to 1.2.1 with a pointer to Issue #34 in the change log.