Graylog2 / Graylog2/graylog2-server

Allow data adapters to return new refresh information after each refresh

Open
#4,256 0 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Currently the data adapter API allows only for a fixed interval of refreshes, but some data sources actually expose more information on when a refresh might yield new information, notably HTTP cache headers.

If we could pass that information to the [`LookupDataAdapterRefreshService`](https://github.com/Graylog2/graylog2-server/blob/master/graylog2-server/src/main/java/org/graylog2/lookup/LookupDataAdapterRefreshService.java) then we could improve reloading to expose more up-to-date information without excessive polling.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.