Member since
06-26-2015
515
Posts
140
Kudos Received
114
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2571 | 09-20-2022 03:33 PM | |
| 6959 | 09-19-2022 04:47 PM | |
| 3676 | 09-11-2022 05:01 PM | |
| 4276 | 09-06-2022 02:23 PM | |
| 6779 | 09-06-2022 04:30 AM |
08-07-2022
10:41 PM
1 Kudo
@RB764 , What are you using to access the NiFi REST API. Could you give us an example of what your API call looks like? It's possible to access the API from a client in a different domain without any reconfiguration. Cheers, André
... View more
08-03-2022
07:33 PM
1 Kudo
Ahh! Good catch, @ChuckE !! So simple!
... View more
08-03-2022
04:24 PM
@AmiJhones , I've answer a similar question before: https://community.cloudera.com/t5/Support-Questions/Json-Jolt-to-Remove-All-Nulls-from-Json/td-p/336008 Cheers, André
... View more
08-03-2022
04:56 AM
@ftrg , You don't need the tar.gz file. You can install using the -bin.zip file (https://dlcdn.apache.org/nifi/1.17.0/nifi-1.17.0-bin.zip). Just download this file and unzip it with: unzip nifi-1.17.0-bin.zip Cheers, André
... View more
08-03-2022
04:51 AM
@AbhishekSingh , The CaptureChangeMySQL processor acts as a MySQL replication slave. It requires the REPLICATION_SLAVE privilege in MySQL. Following the steps in the documentation and create a separate user to use in your processor. Cheers, André Cheers, André
... View more
08-02-2022
10:43 PM
I'm also curious about the performance difference. If you could report your results here, I'd appreciate! Cheers, André
... View more
08-02-2022
10:20 PM
@ChuckE , You can use a JoltTransformRecord processor to perform the conversion to JSON and, at the same time, add the root node back to it. The JOLT specification I used is this: {
"*": "a.&"
} Cheers, André
... View more
08-02-2022
09:50 PM
2 Kudos
@SandyClouds , You don't need a MySQL replication server. What I meant is that the CaptureChangeMySQL act as a replication client, and needs the same privileges as one. I tested the exact same commands that you specified above and I was able to connect to the database from the command line: [root@cdp ~]# mysql -u replication -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.0.26 Source distribution
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> I was also able to configure the CaptureChangeMySQL processor to capture changes without any other privileges being granted: Which version of MySQL are you using? There seems to be some issue with your user creation. The connection from the command line should work. What was the command you used to connect to the db using the replication user? Could you please provide the configuration of your processor? Cheers, André
... View more
08-01-2022
02:57 PM
@ChuckE Do your XML messages conform to defined a schema? Cheers, André
... View more
08-01-2022
06:22 AM
1 Kudo
@Brenigan , 1. It depends on the context and the level of &n. In the example above, &1 return the element in the transports array (e.g. "PUSH"), while &2 returns the numeric index of that element in the array (e.g. 0). 2. &4 and &2 are numeric array indexes. outer[&4] means that the output will be in the &4 position of an array called outer. That element of the array will have and attribute called inner and the &2 position of the inner array will have two attributes, t and etc, with the specified values. Cheers, André
... View more