@Override
  public void start() {
    // create data repositories
    Map<DataSource, DataRepository> sources = new HashMap<>();
    for (DataSource source : dataSourceRepository.getAll()) {
      sources.put(source, createDataRepository(source));
    }

    // start filter chains
    processorChainManager.startAllProcessorChains(sources);
  }
 public List<DataSource> getAll() {
   return dataSourceRepository.getAll();
 }