Skip to content

Commit 2257419

Browse files
committed
Release 1.4.5
1 parent 965d21b commit 2257419

File tree

4 files changed

+102
-2
lines changed

4 files changed

+102
-2
lines changed

CHANGES.md

+50
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
# 1.4.5 (Mar 14, 2019)
2+
3+
This release is primarily focused on addressing lock contention
4+
and other coordination issues between the KafkaConsumer and the
5+
background heartbeat thread that was introduced in the 1.4 release.
6+
7+
Consumer
8+
* connections_max_idle_ms must be larger than request_timeout_ms (jeffwidman / PR #1688)
9+
* Avoid race condition during close() / join heartbeat thread (dpkp / PR #1735)
10+
* Use last offset from fetch v4 if available to avoid getting stuck in compacted topic (keithks / PR #1724)
11+
* Synchronize puts to KafkaConsumer protocol buffer during async sends (dpkp / PR #1733)
12+
* Improve KafkaConsumer join group / only enable Heartbeat Thread during stable group (dpkp / PR #1695)
13+
* Remove unused `skip_double_compressed_messages` (jeffwidman / PR #1677)
14+
* Fix commit_offsets_async() callback (Faqa / PR #1712)
15+
16+
Client
17+
* Retry bootstrapping after backoff when necessary (dpkp / PR #1736)
18+
* Recheck connecting nodes sooner when refreshing metadata (dpkp / PR #1737)
19+
* Avoid probing broker versions twice on newer brokers (dpkp / PR #1738)
20+
* Move all network connections and writes to KafkaClient.poll() (dpkp / PR #1729)
21+
* Do not require client lock for read-only operations (dpkp / PR #1730)
22+
* Timeout all unconnected conns (incl SSL) after request_timeout_ms (dpkp / PR #1696)
23+
24+
Admin Client
25+
* Fix AttributeError in response topic error codes checking (jeffwidman)
26+
* Fix response error checking in KafkaAdminClient send_to_controller (jeffwidman)
27+
* Fix NotControllerError check (jeffwidman)
28+
29+
Core/Protocol
30+
* Fix default protocol parser version / 0.8.2 version probe (dpkp / PR #1740)
31+
* Make NotEnoughReplicasError/NotEnoughReplicasAfterAppendError retriable (le-linh / PR #1722)
32+
33+
Bugfixes
34+
* Use copy() in metrics() to avoid thread safety issues (emeric254 / PR #1682)
35+
36+
Test Infrastructure
37+
* Mock dns lookups in test_conn (dpkp / PR #1739)
38+
* Use test.fixtures.version not test.conftest.version to avoid warnings (dpkp / PR #1731)
39+
* Fix test_legacy_correct_metadata_response on x86 arch (stanislavlevin / PR #1718)
40+
* Travis CI: 'sudo' tag is now deprecated in Travis (cclauss / PR #1698)
41+
* Use Popen.communicate() instead of Popen.wait() (Baisang / PR #1689)
42+
43+
Compatibility
44+
* Catch thrown OSError by python 3.7 when creating a connection (danjo133 / PR #1694)
45+
* Update travis test coverage: 2.7, 3.4, 3.7, pypy2.7 (jeffwidman, dpkp / PR #1614)
46+
* Drop dependency on sphinxcontrib-napoleon (stanislavlevin / PR #1715)
47+
* Remove unused import from kafka/producer/record_accumulator.py (jeffwidman / PR #1705)
48+
* Fix SSL connection testing in Python 3.7 (seanthegeek, silentben / PR #1669)
49+
50+
151
# 1.4.4 (Nov 20, 2018)
252

353
Bugfixes

docs/changelog.rst

+50
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,56 @@ Changelog
22
=========
33

44

5+
1.4.5 (Mar 14, 2019)
6+
####################
7+
8+
This release is primarily focused on addressing lock contention
9+
and other coordination issues between the KafkaConsumer and the
10+
background heartbeat thread that was introduced in the 1.4 release.
11+
12+
Consumer
13+
--------
14+
* connections_max_idle_ms must be larger than request_timeout_ms (jeffwidman / PR #1688)
15+
* Avoid race condition during close() / join heartbeat thread (dpkp / PR #1735)
16+
* Use last offset from fetch v4 if available to avoid getting stuck in compacted topic (keithks / PR #1724)
17+
* Synchronize puts to KafkaConsumer protocol buffer during async sends (dpkp / PR #1733)
18+
* Improve KafkaConsumer join group / only enable Heartbeat Thread during stable group (dpkp / PR #1695)
19+
* Remove unused `skip_double_compressed_messages` (jeffwidman / PR #1677)
20+
* Fix commit_offsets_async() callback (Faqa / PR #1712)
21+
22+
Client
23+
------
24+
* Retry bootstrapping after backoff when necessary (dpkp / PR #1736)
25+
* Recheck connecting nodes sooner when refreshing metadata (dpkp / PR #1737)
26+
* Avoid probing broker versions twice on newer brokers (dpkp / PR #1738)
27+
* Move all network connections and writes to KafkaClient.poll() (dpkp / PR #1729)
28+
* Do not require client lock for read-only operations (dpkp / PR #1730)
29+
* Timeout all unconnected conns (incl SSL) after request_timeout_ms (dpkp / PR #1696)
30+
31+
Admin Client
32+
------------
33+
* Fix AttributeError in response topic error codes checking (jeffwidman)
34+
* Fix response error checking in KafkaAdminClient send_to_controller (jeffwidman)
35+
* Fix NotControllerError check (jeffwidman)
36+
37+
Core/Protocol
38+
-------------
39+
* Fix default protocol parser version / 0.8.2 version probe (dpkp / PR #1740)
40+
* Make NotEnoughReplicasError/NotEnoughReplicasAfterAppendError retriable (le-linh / PR #1722)
41+
42+
Bugfixes
43+
--------
44+
* Use copy() in metrics() to avoid thread safety issues (emeric254 / PR #1682)
45+
46+
Test Infrastructure
47+
-------------------
48+
* Mock dns lookups in test_conn (dpkp / PR #1739)
49+
* Use test.fixtures.version not test.conftest.version to avoid warnings (dpkp / PR #1731)
50+
* Fix test_legacy_correct_metadata_response on x86 arch (stanislavlevin / PR #1718)
51+
* Travis CI: 'sudo' tag is now deprecated in Travis (cclauss / PR #1698)
52+
* Use Popen.communicate() instead of Popen.wait() (Baisang / PR #1689)
53+
54+
555
1.4.4 (Nov 20, 2018)
656
##########
757

docs/compatibility.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ through 0.8.0 . kafka-python is not compatible with the 0.8.2-beta release.
1212
Because the kafka server protocol is backwards compatible, kafka-python is
1313
expected to work with newer broker releases as well (2.0+).
1414

15-
kafka-python is tested on python 2.7, 3.4, 3.5, 3.6, 3.7, and pypy.
15+
kafka-python is tested on python 2.7, 3.4, 3.7, and pypy2.7.
1616

1717
Builds and tests via Travis-CI. See https://travis-ci.org/dpkp/kafka-python

kafka/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.4.5.dev'
1+
__version__ = '1.4.5'

0 commit comments

Comments
 (0)