[
https://issues.apache.org/jira/browse/NIFI-5388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16538787#comment-16538787
]
Corey Fritz commented on NIFI-5388:
-----------------------------------
yeah, agreed. was planning on using the variable registry scope. based on the
code i looked at earlier, these dynamic properties would only be evaluated when
a processor is started, which creates a pool of Kafka consumers or producers.
if those dynamic properties are updated during the life of the JVM, i believe
an existing consumer/producer pool would still use the old values until the
processor is restarted.
> Enable EL support for dynamic properties of Kafka processors
> ------------------------------------------------------------
>
> Key: NIFI-5388
> URL: https://issues.apache.org/jira/browse/NIFI-5388
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 1.7.0
> Reporter: Corey Fritz
> Priority: Minor
> Labels: kafka
>
> We have a flow committed to a NiFi Registry that includes a Kafka consumer,
> and ideally the processor configuration would include some dynamic consumer
> properties where the values would differ depending on which environment the
> flow is deployed to. Unfortunately, dynamic properties in the Kafka
> processors do not currently support EL, which would allow us to use
> environment variables to pass in those environment-specific values. So I'm
> proposing EL support be added to the dynamic properties of all Kafka
> processors.
> I am planning on tackling this ticket myself, unless someone thinks this is a
> bad idea for some reason.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)