- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to avoid record reader/writer when publishing to kafka in NiFi
- Labels:
-
Apache NiFi
Created ‎04-26-2018 10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to fetch files (very small files, but millions of them) from S3 and put it into kafka and Kafka consumer will read each file from Kafka and process the data inside the file.
I noticed that publish kafka 0_11 processor forces to use record reader/writer, but for data i am trying to put into Kafka, I am not sure what will be my schema. Can I just avoid this and NiFi not try to parse this data and just pass through the flow file content and publish to kafka?
Created ‎04-26-2018 11:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you try considering PublishKafka_0_10 (or) PublishKafka processors which are not going to force you to specify Record Reader/Writer.
Created ‎04-26-2018 11:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you try considering PublishKafka_0_10 (or) PublishKafka processors which are not going to force you to specify Record Reader/Writer.
Created ‎04-26-2018 11:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Shu Never noticed there is another publish processor for Kafka, PublishKafka_0_11 seems to be working fine. Thanks for the answer!
