Skip to content

Commit

Permalink
Fix delivery handle spec
Browse files Browse the repository at this point in the history
topic name is needed in creation of the delivery report due to a change in
librdkafka

karafka/rdkafka-ruby@0814266
  • Loading branch information
deepredsky committed Aug 10, 2023
1 parent 0e4f98e commit 64469dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/message_delivery_error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Rdkafka::Producer::DeliveryHandle.new.tap do |dh|
dh[:partition] = 37
dh[:offset] = 42
dh[:topic_name] = FFI::MemoryPointer.from_string("produce_test_topic")
end
end

Expand Down

0 comments on commit 64469dd

Please sign in to comment.