Hello,
One approach to ensure default attribute values for specific processors is to 
create a processor with the desired configuration in the NiFi UI and then copy 
it whenever needed. This method retains the configured values, saving time 
during replication.
Another effective strategy is to create a NiFi template for the PublishKafka 
processor with the "Use Transaction" attribute set to false. By using this 
template, you can easily instantiate new processors with the desired default 
configuration.
Additionally, for centralized management of processor values, leveraging 
parameter 
contexts<https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#parameter-contexts>
 can be beneficial.
I hope these suggestions are helpful. Please let me know if you need further 
assistance or clarification.
Best Regards,
Lehel
________________________________
From: Поротиков Станислав Вячеславович via users <[email protected]>
Sent: Tuesday, February 6, 2024 9:52
To: [email protected] <[email protected]>
Subject: Change default attribute values


Hello!

Is there are any way to change default attribute values for specific processors?

For example I want to have just created processor PublishKafka with attribute 
"Use Transactions = false" by default.



Best regards,

Stanislav Porotikov


  • C... Поротиков Станислав Вячеславович via users
    • ... Lehel Boér

Reply via email to