Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3066

Storm Flux variable substitution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              epinto Eduardo Pinto
              pingc Calvin Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h