All Versions
10
Latest Version
Avg Release Cycle
103 days
Latest Release
47 days ago

Changelog History

  • v1.0.0 Changes

    August 30, 2021

    Broadway v1.0 requires Erlang/OTP 21.3+.

    Backwards incompatible changes

    • Remove Broadway.TermStorage now that we have Broadway topology information on the producer init callback
    • Rename :events to :messages in batcher telemetry event
    • Remove :time from "stop" telemetry event measurements
    • Rename :time to :system_time in telemetry event measurements
    • Rename [:broadway, :consumer, *] to [:broadway, :batch_processor, *] in telemetry event

    ✨ Enhancements

    • Add Broadway.Message.put_data/2
    • Add Broadway.stop/1
    • Add Broadway.all_running/0
    • Add Broadway.topology/1
    • Add ack configuration to Broadway.test_message/3 and Broadway.test_batch/3
    • Allow Broadway :via tuples as broadway names
    • Enrich telemetry events with metadata
  • v0.6.2 Changes

    August 17, 2020
    • Make Broadway.Producer public
    • Add optional prepare_messages callback
  • v0.6.1 Changes

    June 02, 2020
    • Rename :failure Telemetry event to :exception so it conforms to the telemetry specification
    • Deprecate Broadway.test_messages/3 in favor of Broadway.test_message/3 and Broadway.test_batch/3
  • v0.6.0 Changes

    February 13, 2020
    • Deprecate :stages in favor of :concurrency for clarity
    • Do not validate :batcher if message failed
    • Add support for rate limiting producers
    • Support returning state in c:Broadway.Producer.prepare_for_draining/1
    • Emit telemetry events
    • Add Kafka guide
  • v0.6.0-rc.0

    February 05, 2020
  • v0.5.0 Changes

    November 04, 2019
    • Deprecate :producers in favor of a single :producer key
    • Add Broadway.Message.configure_ack/3
    • Add Broadway.Message.ack_immediately/1
    • Add Broadway.producer_names/1
    • Add the c:Broadway.handle_failed/2 optional callback which is invoked with failed messages
    • Add :crash_reason to Logger reports metadata
    • Add c:Broadway.Producer.prepare_for_start/2 optional callback which allows producers to customize the topology
    • Support partition_by in processors and batchers
    • Log if handle_batch returns less messages than expected
  • v0.4.0 Changes

    August 05, 2019
    • Add :batch_mode to Broadway.test_messages/3 to control how test messages are flushed
    • Add Broadway.DummyProducer for testing
    • Append .Broadway to module prefixes to avoid potential naming conflicts
  • v0.3.0 Changes

    April 26, 2019
    • Add metadata field to the Message struct so clients can append extra information
  • v0.2.0 Changes

    April 04, 2019
    • Broadway.Message.put_partition/2 has been renamed to Broadway.Message.put_batch_key/2
    • Allow Broadway.Producer to prepare_for_draining/1
    • Allow pipelines without batchers
  • v0.1.0 Changes

    February 19, 2019
    • Initial release