You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Поротиков Станислав Вячеславович via users <us...@nifi.apache.org> on 2024/02/29 05:41:19 UTC
Python processor dynamic property failure
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.
Best regards,
Stanislav Porotikov