The easiest way I found to sync nifi registry from Git is by deleting the registry database file(should be in /nifi-registry/database/*.db) and restarting nifi-registry. After that it should fully reflect all changes in the git repository. Basically our process is something like: push changes to nifi registry on dev branch, merge from dev to master branch, delete nifi registry database on master and restart nifi registry.
I'm sure there must be a nicer way to do this, but so far this has worked for us until we can spent more time on implementing the registry. ________________________________ Van: Chris McKeever <cgmckee...@gmail.com> Verzonden: maandag 7 juni 2021 16:49:21 Aan: users@nifi.apache.org Onderwerp: Re: Nifi Registry GitFlowPersistenceProvider EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. EXPÉDITEUR EXTERNE: Ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez l'assurance que le contenu provient d'une source sûre. Tony - did you ever get an answer on this? On Fri, Jun 4, 2021 at 9:04 AM Chris McKeever <cgmckee...@gmail.com<mailto:cgmckee...@gmail.com>> wrote: oooh, this is interesting ... I know only one registry could/should be the authoritative WRITER .. maybe there is a fetch hook that you can schedule to refresh ... following On Fri, Jun 4, 2021 at 8:50 AM Sim, Yoosuk <yoosuk....@bell.ca<mailto:yoosuk....@bell.ca>> wrote: Hello everyone, I am currently setting up Nifi Registry. In our setup, we wanted multiple Nifi Registry to talk to the same remote git repository. (say, one in DEV, and another in QA, etc.) Over time, I found that not all Nifi Registry retained the same information, even though the remote git repository had the latest information. Does Nifi Registry ever pull from the remote git aside from when it clones? What might be the best way to resolve this issue? Cheers, [logo_bell_120dpi_0_84_154] Yoosuk (Tony) Sim Dev, Machine Learning Engineering