Hello!
I wrote Python processor for NiFi 2.0 and it worked fine.
Bun after a while it started to crush with validation error about dynamic 
property

I defined dynamic property like this:

    def getDynamicPropertyDescriptor(self, name):
        return PropertyDescriptor(
            name=name,
            description="Specifies the column with '" + name + "' key",
            
expression_language_scope=ExpressionLanguageScope.FLOWFILE_ATTRIBUTES,
            validators = [StandardValidators.ALWAYS_VALID]
        )

The actual error I see in interface is: "<DYNAMIC_PROPERTY_NAME>  against '< 
DYNAMIC_PROPERTY_VALUE>' is invalid because "<DYNAMIC_PROPERTY_NAME> is not 
supported property or has no Validator associated with it"

Glad to any help.

  • Python proc... Поротиков Станислав Вячеславович
    • Re: Py... Fan Li
      • RE... Поротиков Станислав Вячеславович

Reply via email to