public static void main(String[] args) throws IOException, ScraperException {

        ScraperConfiguration configuration = ScraperConfiguration.fromFile("plc4j/utils/scraper/src/test/resources/example_triggered_scraper.yml", ScraperConfigurationTriggeredImpl.class);

        PlcConnectionManager connectionManager = CachedPlcConnectionManager.getBuilder().build();
        TriggerCollector triggerCollector = new TriggerCollectorImpl(connectionManager);
        TriggeredScraperImpl scraper = new TriggeredScraperImpl(configuration, (j, a, m) -> LOGGER.info("Results from {}/{}: {}", j, a, m),triggerCollector);

        scraper.start();
        triggerCollector.start();
    }
testing of TriggeredScraper vs real device
plc4j/tools/scraper/src/test/java/org/apache/plc4x/java/scraper/TriggeredScraperRunner.java