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

servers.yaml's 'xd: -> transport: rabbit' overrides xd-singlenode's default of local transport

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: M6
    • Fix Version/s: M7
    • Component/s: Configuration
    • Labels:
      None
    • Story Points:
      1
    • Rank (Obsolete):
      559
    • Sprint:
      Sprint 27

      Description

      When working w/ SXD xd-singlenode, out of the box, it defaults to using all embedded components (transport, analytics, hsqldb, & zookeeper), which is easy and a great way to get going. This is also great for development.

      When I then started trying out the M6 distributed mode I set my transport to rabbit in servers.yaml (now that the --transport option is gone). Rabbit is my preferred transport here.

      I then went back to running the singlenode, for simplicity, and then got an exception saying that the singlenode couldn't contact RabbitMQ/AMQP (I was no longer running rabbit). I then had to add the '--transport local' flag back to xd-singlenode.

      Having the --transport option on xd-singlenode but not on xd-container is confusing. Also I would expect xd-singlenode to default to local transport unless I specify another option in --transport.

      -Derek

        Attachments

          Activity

            People

            Assignee:
            dturanski David Turanski
            Reporter:
            dbeauregard Derek Beauregard
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: