/nifi-zonefile-record-serialization-service

Apache NiFi controller service to parse RFC 1035 compliant zone files.

Primary LanguageJavaApache License 2.0Apache-2.0

nifi-zonefile-record-serialization-services

Build Status

A NiFi custom controller service to parse the contents of an RFC 1035 compliant zone file.

Getting Started

This package exposes a ZoneFileReader controller service.

Build the NAR file using:

mvn clean install

Place the NAR file inside your NiFi installation's lib directory.

AVRO Schema Format

By default, the reader attaches the following schema to the outgoing record set:

{
   "type" : "record",
   "name" : "ZoneFile",
   "fields" : [
    { "name" : "name" , "type" : "string"},
	  { "name" : "ttl" , "type" : "long", "aliases" : ["Time To Live", "time-to-live"]},
	  { "name" : "class" , "type" : "string", "aliases" : ["Record Class", "record-class"]},
	  { "name" : "type" , "type" : "string", "aliases" : ["record-type"]},
	  { "name" : "data" , "type" : "string", "aliases" : ["record-data"]}
   ]
}