You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/12/08 06:27:00 UTC

[jira] [Created] (STORM-2849) [Flux] Support static factory methods for properties

Jungtaek Lim created STORM-2849:
-----------------------------------

             Summary: [Flux] Support static factory methods for properties
                 Key: STORM-2849
                 URL: https://issues.apache.org/jira/browse/STORM-2849
             Project: Apache Storm
          Issue Type: Bug
          Components: Flux
            Reporter: Jungtaek Lim
            Priority: Minor


We're providing a means to invoke static factory methods for flux components via STORM-2796.
This is follow-up issue to also provide a means to invoke static factory methods for properties.

{code}
    properties:
      - name: "timeLen"
        args:
          - ref: "time1"
      - name: "timeLenArr"
        args:
          - refList: ["time1", "time2"]
{code}

Note that we also have simple workaround here, so I'm just going to set priority to be 'minor'.

{code}
    configMethods:
      - name: "setTimeLenArr"
        args:
          - reflist: ["time1", "time2"]
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)