Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-59

Null pointer exception is thrown while constructing ConsumerConfig with MasterInfo, while directly using String is ok

    XMLWordPrintableJSON

Details

    Description

      String masterHostAndPorts = "..."
      ConsumerConfig consumerConfig = new ConsumerConfig(localIp, masterHostAndPorts, consumerGroup);
      The above is running fine without exception.
      String masterHostAndPorts = "..."
      MasterInfo masterInfo = new MasterInfo(masterHostAndPorts);
      ConsumerConfig consumerConfig = new ConsumerConfig(localIp, masterInfo, consumerGroup);
      However, If I use MasterInfo to construct ConsumerConfig, A NPE will be thrown.

      Attachments

        Activity

          People

            technoboy Guo Jiwei
            marklaw Mark Law
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m