Skip to content

Commit

Permalink
Fix return type of rd_kafka_poll (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
mensfeld authored Dec 5, 2023
1 parent 569c4a8 commit d36a158
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Rdkafka Changelog

## 0.15.1 (Unreleased)
- [Fix] Fix return type on `#rd_kafka_poll` (mensfeld)

## 0.15.0 (2023-12-03)
- **[Feature]** Add `Admin#metadata` (mensfeld)
- **[Feature]** Add `Admin#create_partitions` (mensfeld)
Expand Down
2 changes: 1 addition & 1 deletion lib/rdkafka/bindings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class SizePtr < FFI::Struct
# Polling

attach_function :rd_kafka_flush, [:pointer, :int], :int, blocking: true
attach_function :rd_kafka_poll, [:pointer, :int], :void, blocking: true
attach_function :rd_kafka_poll, [:pointer, :int], :int, blocking: true
attach_function :rd_kafka_outq_len, [:pointer], :int, blocking: true

# Metadata
Expand Down
2 changes: 1 addition & 1 deletion lib/rdkafka/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module Rdkafka
VERSION = "0.15.0"
VERSION = "0.15.1"
LIBRDKAFKA_VERSION = "2.3.0"
LIBRDKAFKA_SOURCE_SHA256 = "2d49c35c77eeb3d42fa61c43757fcbb6a206daa560247154e60642bcdcc14d12"
end

0 comments on commit d36a158

Please sign in to comment.