logstash-plugins / logstash-filter-jdbc_streaming

A Logstash filter that can enrich events with data from a database
Apache License 2.0
12 stars 23 forks source link

Fix explanation of cache_expiration option #24

Closed passing closed 3 years ago

passing commented 5 years ago

The cache_expiration option sets the "ttl" parameter of the cache: https://github.com/logstash-plugins/logstash-filter-jdbc_streaming/blob/master/lib/logstash/filters/jdbc_streaming.rb#L54 From the moment an entry is added to the cache, it can only be used until it reaches the TTL. After that a read will re-fetch it from the database.