You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrea Di Stefano (Jira)" <ji...@apache.org> on 2025/03/14 08:42:00 UTC

[jira] [Commented] (NIFI-14355) Change Flow Registry Client sync frequency from 1 minute to 30 minutes

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

Andrea Di Stefano commented on NIFI-14355:
------------------------------------------

Thank you again [~pvillard] and [~exceptionfactory] for the quick resolution!

> Change Flow Registry Client sync frequency from 1 minute to 30 minutes
> ----------------------------------------------------------------------
>
>                 Key: NIFI-14355
>                 URL: https://issues.apache.org/jira/browse/NIFI-14355
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Flow Versioning, NiFi Registry
>    Affects Versions: 2.2.0
>         Environment: Not relevant
>            Reporter: Andrea Di Stefano
>            Assignee: Pierre Villard
>            Priority: Major
>             Fix For: 2.4.0
>
>         Attachments: image-2025-03-11-16-47-39-522.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hello.
> We are using the GitHub Registry Client with a Personal Authentication Token (PAT) and constantly hitting the API rate limit. The rate limit, [as stated in the GitHub docs|https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#primary-rate-limit-for-authenticated-users], is 5000 requests per hour. 
> We have a pipeline with 53 instances of 3 versioned process groups, which are part of a bigger pipeline (~1.1k components).
> I uploaded a related stack trace [here|https://pastebin.com/R0tTw4bP].
> Calling the GitHub API with Postman, we saw that the response headers include data about the rate limit, current usage, and reset time in Unix epoch format, see the attached screenshot for an example:
> !image-2025-03-11-16-47-39-522.png!
> Is NiFi periodically polling the GitHub API in background? 
> Can we somehow limit the number of calls?
>  



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