Actually I can fix it just recreating processor by copy-paste. But doesn't 
really solve the problem.

Best regards,
Stanislav Porotikov


-----Original Message-----
From: Fan Li <fan...@apex974.com> 
Sent: Thursday, February 29, 2024 4:15 PM
To: dev@nifi.apache.org
Subject: Re: Python processor dynamic property failure

I have seen similar errors as well. If I restart NiFi, the error goes away.
Appreciate any guidance.

On Thu, Feb 29, 2024 at 12:43 AM Поротиков Станислав Вячеславович 
<s.poroti...@skbkontur.ru.invalid> wrote:

> 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