No point in collecting to a list when it is not been used. Better to remove "collect(Collectors.toList()" and change from map to foreach
list.stream().foreach(event -> { ..... })