Skip to content

bump librdkafka after bugs were fixed #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion librdkafka
Submodule librdkafka updated 158 files
2 changes: 1 addition & 1 deletion tests/consumer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ local function test_create_errors()

log.info('Create with incompatible properties')
local _, err = tnt_kafka.Consumer.create({brokers = '', options = {['reconnect.backoff.max.ms'] = '2', ['reconnect.backoff.ms'] = '1000'}})
assert(err == '`reconnect.backoff.max.ms` must be >= `reconnect.max.ms`')
assert(err == '`reconnect.backoff.max.ms` must be >= `reconnect.backoff.ms`')
end

return {
Expand Down
2 changes: 1 addition & 1 deletion tests/producer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ local function test_create_errors()

log.info('Create with incompatible properties')
local _, err = tnt_kafka.Producer.create({brokers = '', options = {['reconnect.backoff.max.ms'] = '2', ['reconnect.backoff.ms'] = '1000'}})
assert(err == '`reconnect.backoff.max.ms` must be >= `reconnect.max.ms`')
assert(err == '`reconnect.backoff.max.ms` must be >= `reconnect.backoff.ms`')
end

return {
Expand Down
2 changes: 2 additions & 0 deletions tests/test_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def test_consumer_should_partially_unsubscribe_from_topics():

write_into_kafka("test_unsub_partially_1", (message1, ))
write_into_kafka("test_unsub_partially_2", (message2, ))
time.sleep(5)

# waiting up to 30 seconds
response = server.call("consumer.consume", [30])[0]
Expand All @@ -275,6 +276,7 @@ def test_consumer_should_partially_unsubscribe_from_topics():

write_into_kafka("test_unsub_partially_1", (message3, ))
write_into_kafka("test_unsub_partially_2", (message4, ))
time.sleep(5)

response = server.call("consumer.consume", [30])[0]

Expand Down
Loading