Klasse SnapshotCreationService

java.lang.Object
org.zalando.nakadiproducer.snapshots.impl.SnapshotCreationService

public class SnapshotCreationService extends Object
  • Konstruktordetails

    • SnapshotCreationService

      public SnapshotCreationService(List<SnapshotEventGenerator> snapshotEventGenerators, EventLogWriter eventLogWriter)
      Creates the service.
      Parameter:
      snapshotEventGenerators - the event generators. Each of them must have a different supported event type.
      eventLogWriter - The event log writer to which the newly generated snapshot events are pushed.
      Löst aus:
      IllegalStateException - if two event generators declare to be responsible for the same event type.
  • Methodendetails

    • createSnapshotEvents

      public void createSnapshotEvents(String eventType, String filter)
    • getSupportedEventTypes

      public Set<String> getSupportedEventTypes()