Member since
11-16-2015
897
Posts
659
Kudos Received
248
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
518 | 06-26-2025 01:21 PM | |
371 | 06-19-2025 02:48 PM | |
603 | 05-30-2025 01:53 PM | |
9385 | 02-22-2024 12:38 PM | |
2010 | 02-02-2023 07:07 AM |
06-29-2023
11:47 AM
https://medium.com/@tspann/ingesting-events-into-dockerized-ibm-db2-jdbc-with-apache-nifi-f0ca452d1351 It works fine with QueryDatabaseTableRecord and PutDatabaseRecord
... View more
06-13-2023
02:59 PM
1 Kudo
Tracking here: https://issues.apache.org/jira/browse/NIFI-11682
... View more
05-30-2023
06:13 AM
https://dev.to/tspannhw/simple-change-data-capture-cdc-with-sql-selects-via-apache-nifi-flank-19m4 You can use the metadata database processors to list all tables in a database and then read all values from tables
... View more
05-29-2023
11:42 AM
@NaBeeL_NaQeeBi Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
... View more
05-25-2023
12:59 AM
everybody is entitled to an opinion but may I ask why are you saying this? 🙂 As you are on a NiFi post, I assume that you are referring to the Cloudera NiFi documentation? I find it very helpful, especially combined with the NiFi's original documentation. It even has some additional thins compared to the original documentation. No matter the feedback, positive or negative, it is good when you know what to do with it. In your case, if you would provide a better and more structured feedback, maybe somebody from Cloudera would understand your point of view and he/she could modify the documentation 🙂
... View more
03-22-2023
03:54 AM
@mburgess @SamCloud convert jsontosql is giving SQL but with '?' marks. example: "DELETE FROM tab1 WHERE id = ? AND feature_name = ? AND state = ? AND tenant_id = ?" When i print via putfile, the json has valid values.. [{"id":1,"feature_name":"fet1","state":16,"tenant_id":"abc123"}] Want to understand where I am doing it wrong.. Please help
... View more
03-16-2023
10:13 PM
Yes this is best approach, Inserting all in staging table and then using merge to insert/update on target table, Just need to truncate staging table for next round of inserts.
... View more
02-05-2023
11:08 PM
@Griggsy, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
... View more
12-07-2022
02:40 PM
@mburgess I have the same problem. The code was written in jython. from org.apache.commons.io import IOUtils from java.nio.charset import StandardCharsets from org.apache.nifi.processor.io import OutputStreamCallback from java.lang import Object # Define a subclass of OutputStreamCallback for use in session.write() class PyOutputStreamCallback(OutputStreamCallback): def __init__(self, cadena): self.cadena = cadena def process(self, outputStream): outputStream.write(bytearray(self.cadena.encode('utf-8'))) # end class flowFile = session.get() if (flowFile != None): table = flowFile.getAttribute('table_name') if (table != 'database_1.dbo.dtproperties'): newFlowFile = session.create(flowFile) newFFC = '' newFlowFile = session.write(newFlowFile, PyOutputStreamCallback(newFFC)) session.transfer(newFlowFile, REL_SUCCESS) elif (table == 'database_1.dbo.dtproperties'): session.remove(flowFile) else: session.transfer(flowFile, REL_FAILURE) I'm understanding that flow files are passing one by one, right? So if there is a flow file with an attribute ''database_1.dbo.dtproperties" should be eliminated without affecting other flow files. But I got "flowfile has already marked for removal"
... View more
11-24-2022
05:56 AM
Hi @gkp_shakeel , Can you please help me with the CURSOR data type object and the INTERFACE_DATA%ROWTYPE; Parameters. How can I call such store procedure
... View more