Uploaded image for project: 'Apache Apex Core'
  1. Apache Apex Core
  2. APEXCORE-804

Setting to let application know when DAG is not being created for launch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The command get-app-package-info runs the populateDAG method of an application to construct the DAG but does not actually launch the DAG. An application developer does not know in which context the populateDAG is being called. For example, if they are recording application starts in an external system from populateDAG, they will have false entries there. This can be solved in different ways such as introducing another method in StreamingApplication or more parameters to populateDAG but a non disruptive option would be to add a property in the configuration object that is passed to populateDAG to indicate if it is simulate/test mode or real launch. An application developer can use this property to take the appropriate actions

      See the discussion here

      https://lists.apache.org/thread.html/21eb9b40d3c663dc39cad1f43a3e06403052bea8c351f97ae5a2efc4@%3Cdev.apex.apache.org%3E

      Attachments

        Activity

          People

            PramodSSImmaneni Pramod Immaneni
            PramodSSImmaneni Pramod Immaneni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: