You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stig Rohde Døssing (Jira)" <ji...@apache.org> on 2019/11/02 09:25:00 UTC

[jira] [Resolved] (STORM-3066) Storm Flux variable substitution

     [ https://issues.apache.org/jira/browse/STORM-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stig Rohde Døssing resolved STORM-3066.
---------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

Thanks [~epinto], merged to master

> Storm Flux variable substitution
> --------------------------------
>
>                 Key: STORM-3066
>                 URL: https://issues.apache.org/jira/browse/STORM-3066
>             Project: Apache Storm
>          Issue Type: Improvement
>            Reporter: Calvin Chen
>            Assignee: Eduardo Pinto
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 2.2.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> we are using flux to submit storm topology, for topology yml file, we need substitute variables, from [https://github.com/apache/storm/tree/master/flux], it says variable can be substituted in format of ${variable.name}, my question is, in my case, variable is a list, and I only want to get first element of the list, how can I do it?
>  I try to use ${variable.0} and ${variable}[0], it doesn't work, after substitution, the result is element_name.0 or element_name[0], which is not I expected(expected one should be element_name), please let me know how to specify the first element of a list in flux.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)