You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FIX: Improve PRNG seeding on Windows to ensure uniqueness of generated numbers (#5265)
Fix for the pseudo-random seed on Windows. The function `rand_r` isn't present on Windows and the global seed wasn't based on the current microseconds and thread id. Also it wasn't called on every thread as required on this platform but only once per process. The fix allows on this platform the uniqueness of client side member id generation in next-generation consumer group protocol.
Happening since 1.x
* Multiple platforms secure random generation
* Run KIP-848 tests on MinGW-w64
* Changes to srand per thread on Windows.
It's necessary on Windows to avoid using the same jitter values for all clients and avoid a stampede effect on brokers.
* Run macOS local quick tests with KIP-848 as well
* Run KIP-848 local quick tests on arm64 glibc and alpine
* Increase 0153 with a different number of maximum open files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,17 @@
2
2
3
3
librdkafka v2.13.0 is a feature release:
4
4
5
-
* Strip trailing dot of hostname to fix SSL certificate verification issue (#5253).
6
5
*[KIP-482](https://cwiki.apache.org/confluence/display/KAFKA/KIP-482%3A+The+Kafka+Protocol+should+Support+Optional+Tagged+Fields) Upgrade CreateAcls, DescribeAcls, DeleteAcls to the first version supporting this KIP (#5081).
7
6
*[KIP-482](https://cwiki.apache.org/confluence/display/KAFKA/KIP-482%3A+The+Kafka+Protocol+should+Support+Optional+Tagged+Fields) Upgrade DescribeGroups, DeleteTopics, DeleteRecords, CreatePartitions, DeleteGroups to the first version supporting this KIP (#5083).
7
+
* Strip trailing dot of hostname to fix SSL certificate verification issue (#5253).
8
+
* Fix memory management for interceptors in rd_kafka_conf to prevent
9
+
double-free errors (#5240).
10
+
* Fix for the pseudo-random generator seed on Windows involving as well
11
+
the uniqueness of the new consumer group protocol member id (#5265).
12
+
* Add secure random generation functionality used for UUID uniqueness
13
+
and secure salt generation in `rd_kafka_UserScramCredentialUpsertion`
14
+
using OpenSSL or the POSIX or WIN32 equivalent calls when it
15
+
isn't available (#5265).
8
16
9
17
10
18
## Fixes
@@ -14,6 +22,19 @@ librdkafka v2.13.0 is a feature release:
14
22
* Issues: #4348.
15
23
Strip trailing dot of hostname to fix SSL certificate verification issue.
16
24
Happening since 1.x (#5253).
25
+
* Issues: #4142.
26
+
Fix memory management for interceptors in rd_kafka_conf to prevent double-free errors.
27
+
In case the client instance fails the users needs to destroy the configuration
28
+
data structure, it was causing a double-free because the interceptors were
29
+
already freed in the constructor.
30
+
Happening since 1.x (#5240).
31
+
* Issues: #5263, #3929.
32
+
Fix for the pseudo-random seed on Windows. The function `rand_r` isn't present
33
+
on Windows and the global seed wasn't based on the current microseconds and thread
34
+
id. Also it wasn't called on every thread as required on this platform but
35
+
only once per process. The fix allows on this platform the uniqueness of client side
36
+
member id generation in next-generation consumer group protocol.
0 commit comments