v1.6.2
版本发布时间: 2021-11-25 16:21:12
confluentinc/librdkafka最新发布版本:v2.5.3(2024-09-02 22:32:10)
librdkafka v1.6.2
librdkafka v1.6.2 is a maintenance release with the following backported fixes:
- Upon quick repeated leader changes the transactional producer could receive
an
OUT_OF_ORDER_SEQUENCE
error from the broker, which triggered an Epoch bump on the producer resulting in an InitProducerIdRequest being sent to the transaction coordinator in the middle of a transaction. This request would start a new transaction on the coordinator, but the producer would still think (erroneously) it was in the current transaction. Any messages produced in the current transaction prior to this event would be silently lost when the application committed the transaction, leading to message loss. To avoid message loss a fatal error is now raised. This fix is specific to v1.6.x. librdkafka v1.8.x implements a recoverable error state instead. #3575. - The transactional producer could stall during a transaction if the transaction coordinator changed while adding offsets to the transaction (send_offsets_to_transaction()). This stall lasted until the coordinator connection went down, the transaction timed out, transaction was aborted, or messages were produced to a new partition, whichever came first. #3571.
- librdkafka's internal timers would not start if the timeout was set to 0, which would result in some timeout operations not being enforced correctly, e.g., the transactional producer API timeouts. These timers are now started with a timeout of 1 microsecond.
- Force address resolution if the broker epoch changes (#3238).
Checksums
Release asset checksums:
- v1.6.2.zip SHA256
1d389a98bda374483a7b08ff5ff39708f5a923e5add88b80b71b078cb2d0c92e
- v1.6.2.tar.gz SHA256
b9be26c632265a7db2fdd5ab439f2583d14be08ab44dc2e33138323af60c39db