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 Mar 15, 2023
1 parent e764173 commit de6410b
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 de6410b

Please sign in to comment.