Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2998

Add validator to Avro Record Name in InferAvroSchema

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      The Avro Record Name property in the InferAvroSchema processor is required to be non-empty, but no checking is done to ensure the record name is valid for Avro.

      Avro naming rules: https://avro.apache.org/docs/1.7.7/spec.html#Names

      The validator should accept the name if Expression Language is used (noting in the documentation for the property that the value of the expression must adhere to the Avro naming rules), or validate the property value against the Avro naming rules if Expression Language is not present.

        Attachments

          Activity

            People

            • Assignee:
              mattyb149 Matt Burgess
              Reporter:
              mattyb149 Matt Burgess

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment