Magnus Edenhill
9b72ca3aa6
Update changelog for 1.9.2
2022-08-01 19:09:58 +02:00
Magnus Edenhill
b871fdabab
Workaround for OpenSSL 1.1.1q build issue on OSX/M1.
2022-08-01 19:07:24 +02:00
Magnus Edenhill
8c29ec8ba7
vcpkg: use override for openssl 1.1.1n
2022-08-01 19:07:24 +02:00
Magnus Edenhill
937f874c8f
Bump bundled curl to 7.84.0
2022-08-01 19:07:24 +02:00
Magnus Edenhill
7167e2ed78
Bump non-windows OpenSSL bundle to 1.1.1q
2022-08-01 19:07:24 +02:00
Magnus Edenhill
8521e83620
Bump version to 1.9.2
2022-08-01 19:07:24 +02:00
Magnus Edenhill
2b0836369e
oidc test: fix portable printf token and proper assert error string formatting
2022-08-01 19:07:24 +02:00
Jing Liu
4faeb81325
fix the scope for oauthbearer OIDC ( #3912 )
2022-07-14 10:39:01 -07:00
Magnus Edenhill
faacc74bba
release script: always collect local artifacts, regardless of S3
2022-07-06 22:27:43 +02:00
Magnus Edenhill
d7471210c4
Fix librdkafka.redist osx arm64 dylib path
2022-07-06 22:27:43 +02:00
Magnus Edenhill
a47c74fdc8
Packaging: OSX arm64 builds
2022-06-29 22:46:40 +02:00
Magnus Edenhill
36a95ff4f8
Add --enable-static so that libtool is used
2022-06-29 22:46:40 +02:00
Eli Smaga
b577912577
Initial semaphore build script
2022-06-29 22:46:40 +02:00
Magnus Edenhill
83bddc031d
Distro builders: install patch for mklove
2022-06-27 20:14:46 +02:00
Magnus Edenhill
305ac2432e
Bump to version v1.9.1
2022-06-27 20:14:46 +02:00
Magnus Edenhill
76f2261f70
Disable curl's runtime linking check
2022-06-27 20:14:46 +02:00
Alice Rum
b815205291
OpenSSL libraries path for M1 MacOS
...
On m1 MacOS homebrew is located in a different place, so configure
script is not able to locate libssl and libcrypto. This change
makes it possible to use those libraries during build on M1.
2022-06-27 12:46:32 +02:00
Magnus Edenhill
b171d8f411
NuGet librdkafka.redist.targets bumped to v142 ( #3881 )
2022-06-21 15:27:44 +02:00
Magnus Edenhill
b47da0e4ee
Added asynchronous rd_kafka_consumer_close_queue() and .._consumer_closed()
...
This is mainly for the Go client, but can be used by applications as well.
2022-06-07 18:01:53 +02:00
Magnus Edenhill
d50099f9d8
Must call ResetEvent() for WaitForMultiplEvents()-polled cndvars
...
Not resetting the signalled event caused the next call(s) to
WSAWaitForMultipleEvents() to wake-up immediately, causing increased CPU usage.
2022-05-31 20:39:31 +02:00
Miklos Espak
b37c76474e
Enable OauthBearer support when librdkafka is built with Curl and SSL using CMake
2022-05-30 15:06:47 +02:00
Emanuele Sabellico
70349332f7
fix: correct free
...
in rd_kafka_CreateAclsResponse_parse rd_list
2022-05-26 18:49:23 +02:00
Roman Schmitz
7ae0fbda54
Default of linger.ms mentioned in intro was out of sync with latest defalut value - fixed that.
2022-05-23 10:30:15 +02:00
Emanuele Sabellico
f8e558941b
Test 0103: AK < 2.5 needs sleep to synchronize committed txn offsets
2022-05-23 10:28:52 +02:00
Magnus Edenhill
a913c75e1e
Call persistent_connection_del() on correct rkb
...
Regression from f19a31d6
.
2022-05-16 19:01:27 +02:00
Magnus Edenhill
ff983ddb6b
coord_req: re-query coordinator to avoid getting stuck
2022-05-16 19:01:27 +02:00
Magnus Edenhill
71770c2939
Add git safe.directory to RPM mock builder too
2022-05-16 12:56:38 +02:00
ihsinme
97290b7f7f
Fix zlib error check (@ihsinme, #3846 )
2022-05-16 12:45:17 +02:00
Magnus Edenhill
53fd95c0af
Mock cluster: allow ApiVersionRequests to have errors injected
2022-05-12 17:54:24 +02:00
Magnus Edenhill
f19a31d6ef
coord_req()s would only trigger one connection attempt and then go idle
...
This caused things like send_offsets_to_transaction() to stall and time out
if the initial group coordinator connection was unsuccessful.
2022-05-12 17:54:24 +02:00
Magnus Edenhill
231d5a1cb8
rd_kafka_mock_broker_set_down() now closes the listener instead of closing new connections
...
This gives a proper "Connection refused" rather than a successful connect
followed by a disconnect.
2022-05-12 17:54:24 +02:00
Magnus Edenhill
f4ad6fbe73
Always provide a librdkafka-static.a
...
Even if there are no dependency .a to bundle we should still provide a librdkafka-static.a, since it
may be sufficient anyway.
This change originally stems from the RPM package librdkafka.spec including librdkafka-static.a, but
depending on Redhat distro it may or may not need static library dependencies, which in turn would
sometime not create a librdkafka-static.a, thus failing RPM packaging.
2022-05-04 08:07:39 +02:00
Magnus Edenhill
23324d2e30
Provide librdkafka*-dbg.a even if stripping is not enabled
...
It is not the ..dbg.a library that changes depending on stripping, but the original .a
2022-05-04 08:07:39 +02:00
Magnus Edenhill
8997ca2c51
Improved #if guards for OIDC
2022-05-04 08:07:39 +02:00
Magnus Edenhill
9454faa96b
NuGet packaging: librdkafka.redist is now built with VS 2019 and msvcr v142
2022-05-02 18:18:25 +02:00
Magnus Edenhill
01ddd32bc2
Github actions: add apt update to avoid outdated packages (404s)
2022-05-02 17:32:28 +02:00
Magnus Edenhill
d78e248250
Allow any form of unassign*() during consumer close (thanks to @kevinconaway)
...
https://github.com/confluentinc/confluent-kafka-go/issues/767#issuecomment-1107465737
2022-05-02 17:32:28 +02:00
Magnus Edenhill
253e486f01
Packaging: circumvent new git safe.directory behaviour
2022-04-27 16:18:25 +02:00
Shawn
8cc50cf661
Fix: fix callback missing when metadata request failed (@aiquestion, #3625 )
...
* Fix: fix callback missing when metadata request failed
* Update comment
* Update CHANGELOG.md
Co-authored-by: Magnus Edenhill <magnus@edenhill.se>
2022-04-26 17:39:21 +02:00
Dmytro Milinevskyi
1f49400f37
fix cc error
...
rdkafka.c:4381:63: error: adding 'int' to a string does not append to
2022-04-26 11:56:52 +02:00
Jing Liu
f0531178f3
Strategy ordering bug fix (@jliunyu, #3818 )
2022-04-26 09:47:23 +02:00
wding
a748a10a3c
fix config property introduction for custom partitioner callback
2022-04-26 09:26:31 +02:00
Magnus Edenhill
1459bedb46
mklove: need to include -framework .. in .pc files, et.al.
...
When libcurl is linked statically it still needs to be dynamically
linked to some OSX frameworks, this fix makes sure those frameworks
are represented in .pc files, etc.
2022-04-25 20:49:23 +02:00
Magnus Edenhill
fc579d9b5b
mklove & .pc: curl requires some OSX framework when static
2022-04-25 20:49:23 +02:00
Magnus Edenhill
f7f527d8f2
Added changelog entry for #3815
2022-04-14 14:22:40 +02:00
Magnus Edenhill
cd78ea46ae
KIP-601: Added `socket.connection.setup.timeout.ms`
...
The Java client has a more aggressive 10s default for this property followed
by an exponential backoff up to a `socket.connection.setup.timeout.max.ms`.
They need this approach since they try brokers one by one, but that's not
really the case in librdkafka. And since we want to avoid emitting an
`ERR__ALL_BROKERS_DOWN` too early/aggressively we can afford a higher
default value for the connect timeout and not use the exponential backoff
at all.
2022-04-14 14:22:40 +02:00
Mikhail Avdienko
ccf047c6e9
Fix MAXPOLL error on Win32 ( #3537 )
2022-04-14 11:18:27 +02:00
Dmytro Milinevskyi
c5e349aae1
fix undefined behaviour in config parsing
2022-04-14 10:43:03 +02:00
Magnus Edenhill
a0ccfd6ec8
seek() now resets the app_offset so that resume() uses the seeked offset ( #3471 )
2022-04-12 10:11:44 +02:00
Magnus Edenhill
4ad5481e13
Don't wrap test timeouts
2022-04-11 16:19:20 +02:00