Closed wfhartford closed 6 years ago
@wfhartford thanks for the improvement! If you resolve conflicts with master I'd be happy to try this out myself and merge it.
@josephlewis42 I've resolved the merge conflicts and tested with my original use case.
@wfhartford, awesome! Thanks for taking the time to pick this back up again!
This is a work-around for the issues described in #15 which uploads files to GCS in the main event processing thread, and uploads the last part in the close method.
Behaviour should be entirely unchanged unless the new configuration option is specified"
This ensures that if logstash exits gracefully, all received events will be uploaded to GCS.