Re: Disconnect nifi node cluster via API

2018-02-22 Thread Charlie Meyer
On https://nifi.apache.org/docs/nifi-docs/rest-api/index.html take a look at DELETE /controller/cluster/nodes/{id} That might have what you need. -Charlie On Feb 22, 2018 02:19, "Jorge Machado" wrote: Hi guys, is there an api to disconnect a node from the cluster ? This would

Re: configuration variables?

2018-08-06 Thread Charlie Meyer
You might want to take a look at utilizing the variable registry for this: https://community.hortonworks.com/articles/155823/introduction-into-process-group-variables.html On Mon, Aug 6, 2018 at 4:07 PM lvic4...@gmail.com wrote: > I have several processors in my flow using the same database url

Re: Nifi driven by external configuration

2018-04-18 Thread Charlie Meyer
To solve this problem, I have written code that sets configuration properties in the variable registry on each nifi instance, then each flow that is provisioned has its configuration reference those variables. This way we are able to deploy nifi instances for different environments, etc but

Re: Security issue when programmatically trying to create DBCP Controller Service

2018-04-17 Thread Charlie Meyer
We use a swagger-generated client as well and the main difference that I see is that I do not set .state(ControllerServiceDTO.StateEnum.ENABLED) But rather create it, then enable it as a next step. In debugging these things, I have extensively used the chrome developer tools as I make actions

Re: NiFi Variables

2018-03-24 Thread Charlie Meyer
Take a look at your browsers developer tools when you set variables and mimic the calls in code. We do this using a swagger generated client and it works well. On Sat, Mar 24, 2018, 20:26 scott wrote: > Hello community, > > I'm looking for a way to edit or add to the new

nifi-toolkit docker images

2018-10-30 Thread Charlie Meyer
Hi, Are docker images for nifi-toolkit regularly published still? The latest tag I see at https://hub.docker.com/r/apache/nifi-toolkit/tags/ references 1.7.0. Will a 1.8.0 image be pushed or is the recommended that users roll their own? Thanks!

NiFi registry: 0.2.0 or 0.3.0

2018-11-06 Thread Charlie Meyer
Hi, On https://nifi.apache.org/registry.html I see 0.2.0 as the most recent release, but https://cwiki.apache.org/confluence/display/NIFI/Release+Notes has 0.3.0 shown as released in September. Is 0.2.0 or 0.3.0 the latest stable release? Thanks!

Re: wrapping json around while keeping a single flowFile for Kafka

2018-09-21 Thread Charlie Meyer
Hi Boris, I had to solve a very similar problem and ended up solving it by writing a custom processor. I just quickly wrote an onTrigger method which read in the contents of the flowfile, parsed the JSON, did the modifications, then transferred the flowfile out with the updated body. While I was

Re: ExecuteSqlRecord, using SQL Server rowversion as max value column

2018-11-20 Thread Charlie Meyer
e updated? > > For now, can you use a timestamp or other supported datatype to perform > your incremental fetch? > > > Andy LoPresto > alopre...@apache.org > *alopresto.apa...@gmail.com * > PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69 > > On No

ExecuteSqlRecord, using SQL Server rowversion as max value column

2018-11-20 Thread Charlie Meyer
Hi, I'm attempting to do incremental fetch from a Microsoft SQL Server database and would like to use rowversion [1] as my maximum value column. When I configured the processor to use that column, it threw an exception [2]. Are there known issues with using the rowversion for this purpose or