RecordReader/Writer with nested json resulting in MapRecord[] statement

2023-11-21 Thread Aaron Rich
Hello, I'm trying to use the record writer/writers to take a json defined event and write it to postgres database. The event follows the CloudEvent definition and has a data element that is JSON structured: { "data" : { "message_type" : "V5", "message_time" : "1614597071000",

increased metrics window size from 5 minutes

2019-08-16 Thread Aaron Rich
Hi all, I'm trying to report metrics from a NiFi instance to an external system. I'm trying to get total messages processed, queue sizes, errors, etc. I have a reporting task that is close to doing what I need but I only get the metrics for the last 5 minutes. Some of the data only processes

Nifi using keycloak for certs challenge

2019-08-08 Thread Aaron Rich
I've recently setup NiFi to use Keycloak as an authentication method for users. I was wondering if my understanding of NiFi's security is correct, in that NiFi will *always* require a certificate challenge, and regardless if that certificate challenge passes or fails,

Re: CM of nar via toolkit cli and regisry

2019-07-22 Thread Aaron Rich
erServiceIntitializationContext method, > which comes from nifi-mock. If TestStandardMyService is included with the > rest of your "production" code, you might want to refactor your module so > that it is part of the "test" code. That should remove the dependency on > nifi-mock. &

Re: CM of nar via toolkit cli and regisry

2019-07-21 Thread Aaron Rich
: org.apache.nifi.util.MockControllerServiceInitializationContext.getNodeTypeProvider()Lorg/apache/nifi/controller/NodeTypeProvider; at com.ngc.swordfish.nifi.multipart.TestStandardMyService.testService(TestStandardMyService.java:36) Do I need to updated nifi-mock to 1.10 also? Thanks. -Aaron On Sun, Jul 21, 2019 at 9:59 PM Aaron Rich wrote: > A

Re: CM of nar via toolkit cli and regisry

2019-07-21 Thread Aaron Rich
Also, When is 1.10.0 planned for release? Thanks. -Aaron On Sun, Jul 21, 2019 at 9:29 PM Aaron Rich wrote: > Great. > > Thank you. > > Is the best way to force my nar to use the 1.10 nifi-api via adding it as > dependency is main pom file? > > Assuming I still ne

Re: CM of nar via toolkit cli and regisry

2019-07-20 Thread Aaron Rich
: org.apache.nifi.documentation.xml.XmlDocumentationWriter.initialize(org.apache.nifi.components.ConfigurableComponent) I believe this is tied to not getting the right nfi-api version? But the parent is set to 1.9.2 so not sure how that is happening. Thanks again. -Aaron On Sat, Jul 20, 2019 at 9:09 PM Aaron Rich wrote

CM of nar via toolkit cli and regisry

2019-07-20 Thread Aaron Rich
Hi, I'm trying to determine the best way to CM custom nar files for sharing between team. We are using nifi-registry for the flows and I saw there was a new capability via the toolkit cli for "upload-bundle". I'm trying to use that but have ran into a few issues: 1) I first wasn't getting the