View Source Kafkaesque.Producer (Kafkaesque v1.0.0-rc.1)

Queries the database for messages to be published

Takes 2 options on startup:

  • :producer_max_backoff_ms: maximum time in milliseconds that the producer will take between database reads. Notice that this is edge-case scenario and should only happen when a) there are database issues or b) there are no new messages in the table for long.
  • :repo: the repo the producer will query on.
  • :query_opts: A list of options sent to Repo calls.

Link to this section Summary

Link to this section Functions