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

Add validator to Avro Record Name in InferAvroSchema

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mattyb149 Matt Burgess
            mattyb149 Matt Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment