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

StreamProcessor should not implicitly create JobCoordinator in the constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      This pattern breaks DI and make it hard to test StreamProcessor. Besides, processorId is dependent on creation of JobCoordinator, which makes it more difficult to test.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nickpan47 Yi Pan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: