Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13008

Kafka Alert Publisher plugin should strip spaces from plugin label

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.0
    • Component/s: Pipelines, Workflow
    • Labels:
      None
    • Release Notes:
      Fixed a bug that Alert Publisher will not work if there is a space in the label.
    • Rank:
      1|hzy0rc:0irr00zjv

      Description

      Currently it seems backend is setting some property for Kafka Alert Publisher when running a pipeline with this plugin, based on the plugin label and the pipeline run id (see attached logs image). However, if the plugin label has spaces (which it does by default), then the run will fail, because of invalid characters. Backend should probably replace spaces with underscores/dashes, since the UI does allow users to have spaces in the plugin label.

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              tbach Tony Bach
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: