karafka-testing
karafka-testing copied to clipboard
Library which provides helpers for easier Karafka consumers tests
This allows us to write `karafka.set_consumer(consumer_obj)` anywhere in RSpec and have it work. This removes the need for an explicit `let` statement that must be called `consumer` - so e.g....
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. This repository currently has no open or pending branches. ## Detected dependencies bundler Gemfile...
re: https://karafka.io/docs/Deserialization/#schema-registry_1 We are deserialising using Avro and Schema Registry. What we found was that the suggested AvroRegistryDeserializer code in the docs wasn't compatible with the [Testing recommendations by Avro...
If you configure a Rails application to use the karafka queue adapter as described in https://karafka.io/docs/Active-Job/, then when writing rspec tests that use the [have_enqueued_job matcher](https://www.rubydoc.info/gems/rspec-rails/RSpec%2FRails%2FMatchers:have_enqueued_job), they will fail reporting...
Follow-up of #106 To avoid situations when calling `subject` was having side effects it has been decided that the gem will use an explicit `consumer` reference to keep track of...
Instead of relying on example-apps specs, we should setup it here to tackle edge cases and regressions.