A NiFi custom controller service to parse the contents of an RFC 1035 compliant zone file.
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.
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"]}
]
}