public TaskFactory getTaskFactory() {
    return taskFactory;
  }
Get the user-defined {@link TaskFactory}
@return the {@link TaskFactory} object
samza-core/src/main/java/org/apache/samza/application/descriptors/TaskApplicationDescriptorImpl.java