- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
PublishKafkaRecord fails all flowfiles if any of them is invalid
- Labels:
-
Apache NiFi
Created ‎12-04-2019 07:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using PublishKafkaRecord processor. Everything works fine, but if I stop the processor and multiple flowfiles stuck in queue when I run the processor again if any of files is invalid all files get into failed queue. Is there any batch setting or any other way to solve this?
Created ‎12-04-2019 02:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend adding the ValidateRecord before your PublishKafkaRecord processor to filter out the invalid records from your dataflow.
Hope this helps,
Matt
Created ‎12-04-2019 02:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend adding the ValidateRecord before your PublishKafkaRecord processor to filter out the invalid records from your dataflow.
Hope this helps,
Matt
Created ‎12-05-2019 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, this helped, thank you
