Current section

Files

Jump to
wolff changelog.md
Raw

changelog.md

* 1.6.4 (merged from 1.5.8)
- Fix type specs for producers and producer config. [#31](https://github.com/kafka4beam/wolff/pull/31)
* 1.6.3 (merged from 1.5.7)
- Stop supervised producer if failed to start. Otherwise the caller may have to call the wolff:stop_and_delete_supervised_producers/3
after matching an error return. If they don't, then it may appear as a resource leak. [#26](https://github.com/kafka4beam/wolff/pull/26)
- Ensure `{{Topic, Partition}, Connection}` record exists even if there are errors returned at partition level metadata.
Fixed in PR [#29](https://github.com/kafka4beam/wolff/pull/29).
There were two issues before this fix:
* `wolff_client` may crash when trying to find partition leader connection for a producer worker.
When there is error code in partition metadata, the connection record is not added,
causing a `badmatch` error in this expression `{_, MaybePid} = lists:keyfind(Partition, 1, Partitions)`.
* `wolff_producers` may crash when fewer partitions found in partition counter refresh.
Although Kafka does not support topic down-scale, the assertion has been removed.
* 1.6.2
- New producer option 'drop\_if\_highmem' to limit the growth of replayq(in mem) size
- Drop otp22 support
- Bring in local control application
* 1.6.1
- Enhance: expose wolff:check_connectivity/2 for connectivity check before starting a client. (PR #18)
- Fix: fix badarg pid monitoring error log when trying to close a dead connection. (PR #20)
- Fix: better error logs (PR #16, PR #17)
* No need to report stacktrace for timeout and connection refused errors.
* Report host:port in connection failure reasons.
* Fixed a bad logging arg which causes failure attempts to be logged as strings
* 1.6.0
- Enhancement: upgrade dependencies, kafka_protocol-4.0.2 and replayq-0.3.3
- Refactor: replaced error_logger with logger
* 1.5.4
- Fix: no delay before the first re-connect attempt after disconnected while idling.
* 1.5.3
- Enhancement: refine logging, reduce the number of retry logs, report error level log every 10 failures.
* 1.5.2
- Enhancement: On-the-fly upgrade of anonymous function in client `gen_server` state to avoid badfun during hot-beam upgrade
- Started using github action for CI
* 1.5.1
- Fix: connection DOWN reason. Should not be a pid, otherwise a producer may not attempt to reconnect.