Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-1113

ApplicationContext ID generation

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.x
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Rank (Obsolete):
      42819

      Description

      ApplicationContext ID generation is difficult in general. Cloud Foundry solves this problem for us by providing unique instance ids to all running instances of an app. I don't suppose that helps much in the general case though, and we need something (a rule of thumb) that is unique and preferably deterministic, so that nodes retain their ID across process and connector restarts.

      In Cloud Foundry the instance id plays a vital role (and will be automatically picked up by the app and applied - need to look at how that plays in a context hierarchy). User can set the context id manually using spring.application.name and spring.application.index.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            david_syer Dave Syer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: