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

Handling tap operations on a tap that has reference to a deleted stream

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: M5
    • Component/s: Batch, CLI
    • Labels:
      None

      Description

      When trying to undeploy/destroy a tap that has reference to an already deleted stream fails with the following exception:
      Command failed org.springframework.xd.rest.client.impl.SpringXDException: XD116E:(pos 4): unrecognized stream reference '<stream_name at the tap defintion>'.

      As expected, the StreamConfigParser's lookupStream fails to find the stream name as the stream doesn't exist in the repository.

      In this scenario, what is a better way to handle the tap operations.
      Should we undeploy the tap when the stream is destroyed? ( though I don't see an easy way to find the taps that use a specific stream).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            iperumal Ilayaperumal Gopinathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: