[ 
https://issues.apache.org/jira/browse/NIFI-10304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936248#comment-17936248
 ] 

Chris Sampson commented on NIFI-10304:
--------------------------------------

It sounds like {{ConsumeElasticsearch}} is the processor you would be wanting 
for this use case - this allows a query to be run repeatedly, paging through 
any resutls and then continuing to check for new data in the future by 
restarting the pagination.

> SearchElasticsearch behaves differently to ScrollElasticsearchHttp, the 
> processor it replaces
> ---------------------------------------------------------------------------------------------
>
>                 Key: NIFI-10304
>                 URL: https://issues.apache.org/jira/browse/NIFI-10304
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.16.3
>            Reporter: Vijaya Gorla
>            Priority: Major
>              Labels: elasticsearch
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ScrollElasticsearchHttp stops running once it hits the last page. This is a 
> very useful feature for adhoc flows. SearchElasticsearch processor on the 
> other hand restarts from the first page once it hits the end and there is no 
> configuration to stop this.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to