View Source Kafkaesque.GarbageCollector (Kafkaesque v1.0.0-rc.2)

Garbage collects messages that were already published

Takes 3 options on startup:

  • :repo: the repo to perform garbage collection on
  • :query_opts: A list of options sent to Repo calls.
  • :garbage_collector_interval_ms: the interval between garbage collection runs. Notice that it always runs on startup.
  • garbage_colletor_limit_ms: the time limit for published records to be in the table.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.