Member since
06-26-2017
191
Posts
10
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1438 | 09-22-2017 07:13 PM |
06-22-2018
03:36 PM
@Bryan Bende Thanks a lot, appreciate it!
... View more
06-22-2018
02:53 PM
Hi All, I am trying to tune my publish kafka processor and want to add custom properties such as batch.size and linger.ms however I do not see any mention of them in the source code of the processor. So if I add these properties will the publishkafka processor honor it and use it when publishing? How wil it work? Thanks Dhiren
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache NiFi
06-22-2018
02:48 PM
@anarasimham Thanks for the response, so if I add some custom properties such as linger.ms batch.size buffer.memory will the publish kafka processor honor these properties, will use it? I checked the source code of publish kafka processor but I did not find any mention of these properties. Again Thanks Dhieru
... View more
06-20-2018
09:44 PM
Hi All, Thanks a lot to this awesome community. My use case is like as follows We use listentcp porcessor to listen to small firewall events max size 200 bytes. But we batch them at Listentcp level to increase network I/O and performance. Then we split them into individual flow files and do some processing and enrichment and publish them to Kafka. However, our kafka is not able to keep up with rate of flow. We have millions of flowfiles queued up. I read that kafka can publish millions of small message per second. What all properties do I need o configure in publish kafka so to increas its performane. I tried tuning max.request.size however it is the maximum size of each message so no help I tried adding one more property buffer.memory to buffer small message together and then publish still no help should I also add one more proerty called batch.size (controls how many bytes of data to collect before sending messages to the Kafka broker. Set this as high as possible, without exceeding available memory. The default value is 16384.) and linger.ms (linger.ms sets the maximum time to buffer data in asynchronous mode. For example, a setting of 100 batches 100ms of messages to send at once. This improves throughput, but the buffering adds message delivery latency.) In my opinion I should buffer for all the small messages atleast (100000 messages ) then write to kafka topic, this will increase the netwrok I/o as well less writes. I just not sure which properties will help me here. Thanks Dhieru
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache NiFi
06-08-2018
09:26 PM
Hi All, We have NiFi 1.2 installed as part of the HDF managed thru Ambari added INFO level to debug an issue, I made a change in NiFi logback.xml using Ambari, do I need to restart the NiFi nodes. I read that any change in logback.xml is automatically picked up in 30 seconds, is this only when you directly change on NiFi node and not when we use Ambari to make the change? Thanks Dhireu
... View more
Labels:
- Labels:
-
Apache NiFi
06-07-2018
02:10 PM
@Matt Clarke Thanks that makes sense, anny idea if it is fixed in nifi1.6 because I checked the link it says "Resolved", I read it again, it will be fixed in nifi.17 Appreciate your help Dhieru
... View more
06-06-2018
10:37 PM
@Wynner it got fixed, however when data itself contains a new line character then it is giving a problem, should I change the message demaracter from new line(shift+enter) to something else ?
... View more
06-06-2018
10:10 PM
Hi All, Thanks a lot to this awesome community. I observing a weird behavior in my prod template. Someone stopped the publishkafka processor and thus the queue backed up, I got a notification and tried to find out who stopped it from global menu --> flow configuration history --> filter on uuid of that processor. But it did not show who stopped it? What happened? I am clueless, for auditng purpose it is important. atatched is the image Thanks a lot Dhieru
... View more
Labels:
- Labels:
-
Apache NiFi
06-03-2018
08:37 PM
@Wynner Thanks a lot for looking at the question. I have not set the message demaractor on both publish and consume kafka processors. Also when I describe my kafka topics it is "Topic:test PartitionCount:1 ReplicationFactor:1" Also the number of concurrent tasks for Consume kafka and publish kafka is 1. Thanks a lot Dhieru
... View more
06-01-2018
06:47 PM
@Felix Albani apologies for not making it clear. I am publising a multi line message using publish kafka processor the message is something like below: when i consume it using consume kafka messages are broken apart. any help Thanks <Event xmlns='http://schemas.microsoft.com/win/2004/08/events/event'><System><Provider Name='Microsoft-Windows-Security-Auditing' Guid='{54567625-5078-4554-A5BA-3E3B0328C30D}'/><EventID>4672</EventID><Version>0</Version><Level>0</Level><Task>12548</Task><Opcode>0</Opcode><Keywords>0x8020000000000000</Keywords><TimeCreated SystemTime='2008-05-23T18:33:23.071073900Z'/><EventRecordID>510676945</EventRecordID><Correlation/><Execution ProcessID='652' ThreadID='4792'/><Channel>Security</Channel><Computer>prdserver.mycomapny.org</Computer><Security/></System><EventData><Data Name='SubjectUserSid'>S-1-5-21-442726818-4567565561-3997648070-3159</Data><Data Name='SubjectUserName'>app</Data><Data Name='SubjectDomainName'>ADmycomINT</Data><Data Name='SubjectLogonId'>0abfbd2cd</Data><Data Name='PrivilegeList'>SeSecurityPrivilege
SeBackupPrivilege
SeRestorePrivilege
SeTakeOwnershipPrivilege
SeDebugPrivilege
SeSystemEnvironmentPrivilege
SeLoadDriverPrivilege
SeImpersonatePrivilege</Data></EventData></Event><br>
... View more