Sha256: 88c0573012a75e8cc7b4f91ba2064650559285ad0ac1d10d389a5c2775c2d26e

Contents?: true

Size: 708 Bytes

Versions: 48

Compression:

Stored size: 708 Bytes

Contents

# frozen_string_literal: true

describe Rdkafka::Callbacks do

  # The code in the call back functions is 100% covered by other specs.  Due to
  # the large number of collaborators, and the fact that FFI does not play
  # nicely with doubles, it was very difficult to construct tests that were
  # not over-mocked.

  # For debugging purposes, if you suspect that you are running into trouble in
  # one of the callback functions, it may be helpful to surround the inner body
  # of the method with something like:
  #
  #   begin
  #     <method body>
  #   rescue => ex; puts ex.inspect; puts ex.backtrace; end;
  #
  # This will output to STDOUT any exceptions that are being raised in the callback.

end

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
rdkafka-0.19.0 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.6 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.5 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.4 spec/rdkafka/callbacks_spec.rb
rdkafka-0.18.0 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.3 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.2 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.2.rc1 spec/rdkafka/callbacks_spec.rb
rdkafka-0.17.0 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.1 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.1.beta1 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.17.0 spec/rdkafka/callbacks_spec.rb
rdkafka-0.14.1 spec/rdkafka/callbacks_spec.rb
rdkafka-0.15.2 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.13.10 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.14.11 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.15.2 spec/rdkafka/callbacks_spec.rb
rdkafka-0.16.1 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.16.1 spec/rdkafka/callbacks_spec.rb
karafka-rdkafka-0.16.0 spec/rdkafka/callbacks_spec.rb