Hi,
I have written a ReportingTask service for Nifi, where I use 'BulletinRepository.findBulletins(queryProcessor);' to retrieve all bulletins and report metrics regarding number of errors/warns/info. The issue is that I am receiving at-max 5 bulletins/messages per component though more messages are viewable through the Bulletin UI.
Following is how I construct and execute my query:
BulletinRepository repository = context.getBulletinRepository();
final BulletinQuery queryProcessor= new BulletinQuery.Builder().
sourceType(ComponentType.PROCESSOR).
limit(500).build();
bulletinsList.addAll(repository.findBulletins(queryProcessor));
How do I get ALL the messages from Bulletin repository rather then just receiving 5?
Thanks
Obaid