INTEXT-72: Implement realtime search - #1
Conversation
JIRA: https://jira.spring.io/browse/INTEXT-72 An initial polishing commit. There is no yet real implementation
|
@dturanski , would you mind answering or at least helpping who can? In most cases we do: while (!job.isDone()) {
Thread.sleep(2000);
}However I think we may don't get When I will have had an answer, I'll know how to go ahead with realtime search correctly. |
* Add `SplunkDataReader#realtimeSearch` * Add `SplunkRunning` test Rule * Add Real test-case - `RealTimeSearchIntegrationTests` * Allow empty string for `init-earliest-time` of `<int-splunk:inbound-channel-adapter>`. For realtime search it is interpreted as `earliest_time = "rt"` and `latest_time="rt"`. However `sliding window` is still valid option for the realtime search as well. * Polishing for configs * Polishing `README.md` and add a note regarding realtime search
|
Pushed the implementation for Pay attention, please, to the Hope I am clear. |
Some additional fixes: * reset `realTimeSearchResultOffset = 0`, when we restart RT Job * Fix `SplunkOutboundChannelAdapterParser` to use just `commaDelimitedListToStringArray` for the `splunk-server-ref` list instead of `;` delimiter before
|
Since RT search Job is long-living but we can |
|
Pushed |
|
Pushed |
|
Pushed upgrade commit |
|
Pushed upgrade and IO-2.0 compatibility. CC @wilkinsona |
|
Thanks for taking care of the plugin upgrade, @artembilan. One less PR for me to do :) |
JIRA: https://jira.spring.io/browse/INTEXT-72
An initial polishing commit.
There is no yet real implementation