Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1806

Configuring task.broadcast.inputs to an empty string raises IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None

    Description

      It looks like setting task.broadcast.inputs to an empty string logs the following exception:

      Exception in thread "main" java.lang.IllegalArgumentException: incorrect format in . Broadcast stream names should be in the form 'system.stream#partitionId' or 'system.stream#[partitionN-partitionM]'
      
      

      The problem stems from the fact that when task.broadcast.inputs is set to "", the call to the getList function in TaskConfigJava:getBroadcastSystemStreamPartitions() returns a List<String> one element (an empty string)  and causes the exception to be raised.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abkshvn Abhishek Shivanna
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: