zalando-nakadi / nakadi-producer-spring-boot-starter

Nakadi event producer as a Spring boot starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batch deletion of events after transmission

fbrns opened this issue · comments

When deleting events from the event-log repository after sending them out an inefficient implementation is used (successfulEvents.forEach(eventLogRepository::delete).

With a more efficient implementation using DELETE ... WHERE id IN (...) in the EventLogRepositoryImpl the implementation would become more efficient.

see #141 (comment)

Implemented in #171 (without even noticing this ticket was open).