ProcessorSharedContextFactory getProcessorSharedContextFactory(String processorName) {
      String globalProcessorName = String.format("%s-%s", this.appName, processorName);
      return ProcessorSharedContextFactory.getInstance(globalProcessorName);
    }
Shared context factories used in unit tests. This is a temporarily solution to enable sharing of test latches in different
scope of context (i.e. in the container or the task). This is not intended for production usage.
samza-test/src/test/java/org/apache/samza/test/processor/SharedContextFactories.java