Member since
07-03-2017
48
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
929 | 07-17-2017 11:34 PM |
07-22-2017
01:41 PM
Is your issue resolved? I just wrote a simple NiFi flow and used it to push 5000 records into Kafka and read those 5000 records out of Kafka. I did not get any error.
... View more
07-20-2017
07:33 PM
Yes. Possibly maintained by different parties across several time zones. Thanks for sharing such a great link.
... View more
07-19-2017
04:20 PM
Thanks Matt. 🙂
... View more
07-19-2017
03:33 PM
Can you please try create a topic and then use Kafka Console Producer to post data to that topic. Once done, please use Console Producer to read data to confirm if it works end to end without using NiFi
... View more
07-19-2017
03:09 PM
Hello All, Do we have any "best practices" documentation or guidelines on how to name Processors in Configure > Settings > Name? Thanks!!
... View more
Labels:
- Labels:
-
Apache NiFi
07-19-2017
03:07 PM
Looking at the error message it appears that issue is on Kafka side due to group re-balance. If you google this term you will get lots of useful information on this issue: "CommitFailedException Kafka group rebalance"
... View more
07-17-2017
11:34 PM
By default, processor runs same SQL every 0 seconds. Please set Scheduling > Run Schedule to a higher value and make sure that SQL is created in such a way that upon execution it picks only new/updated records else you will see "already processed" data. Also, if NiFi is clustered then please set Scheduling > Execution to Primary node, else all nodes will run same query and you will see each record being processed "n" times where "n" = No. of nodes in Cluster.
... View more
07-12-2017
06:31 PM
Hello All, I am trying to extract data using ExtractText such that Original Text = T03%%350%%11502998%%2151%%3312,56%%3 String.1 = T03 String.2 = 11502998 How can I do that using ExtractText? Also, can someone please guide me to good resources ( website, blog etc.) so that I can parse such trivial strings by myself in future? 🙂
... View more
Labels:
- Labels:
-
Apache NiFi
07-05-2017
12:21 PM
2 Kudos
Hello All, I am doing round trip of data from one table ( NIFI1) of an Oracle database to different table (NIFI2) if same database. Both tables have same structure. CREATE TABLE INT_STG.NIFI1
(
ID INTEGER,
NAME VARCHAR2(100 BYTE),
UPDATED_DATE DATE
) CREATE TABLE INT_STG.NIFI2
(
ID INTEGER,
NAME VARCHAR2(100 BYTE),
UPDATED_DATE DATE
) In NIFI and using following design to move data: QueryDatabaseTable ---> CovertRecord --> PutDatabaseRecord I am getting " Inconsisdent datatype expected date got number" error in PutDatabaseRecord. Can someone please help me in finding out issue with the flow? This is how data looks like between QueryDatabaseTable and ConvertRecord: Objavro.schemaÈ{"type":"record","name":"NIFI1","namespace":"any.data","fields":[{"name":"ID","type":["null",{"type":"bytes","logicalType":"decimal","precision":38,"scale":0}]},{"name":"NAME","type":["null","string"]},{"name":"UPDATED_DATE","type":["null",{"type":"long","logicalType":"timestamp-millis"}]}]}�'»hd˦Ýhp/¬~a5j>
I�Ïó˜¡W'»hd˦Ýhp/¬~a5j> This is how data looks like between CovertRecord and PutDatabaseRecord I�Ïó˜¡W Please note that a) QueryDatabaseTable has "Use Avro Logical Types" = true b) Convert Record has Record Reader as AvroReader with Schema Access Registry = Use Embedded Avro Schema and RecordWriter = AvroRecordSetWriter with Schema Access Registry = "Use Schema Text Property" and Schema Text = {
"type": "record",
"name": "ServiceStatusRecord",
"fields" : [
{"name": "ID", "type": "int"},
{"name": "NAME", "type": ["null", "string"]},
{"name": "UPDATED_DATE", "type": "long", "logicalType": "timestamp-millis"}
]
} c) PutDatabaseRecord has AvroReader with Schema Access Strategy = "Use Schema Text Property" and Schema Text = {
"type": "record",
"name": "ServiceStatusRecord",
"fields" : [
{"name": "ID", "type": "int"},
{"name": "NAME", "type": ["null", "string"]},
{"name": "UPDATED_DATE", "type": "long", "logicalType": "timestamp-millis"}
]
} Here is the error I am getting img-2739.jpg
Here is the flow in NiFi
Thanks in advance
... View more
Labels:
- Labels:
-
Apache NiFi
07-04-2017
07:37 PM
1 Kudo
Hello All, Does NiFi preserve order of transactions in a cluster? Is their a way to guarantee that Inserts will be processed before Updates? I can use Kafka Connect with single partition and 3 replicas to ensure HA and Transaction Order. Wondering if their is anyway to achieve this in a NiFi cluster. Thanks!!
... View more
Labels:
- Labels:
-
Apache NiFi
- « Previous
- Next »