Class: Dionysus::Consumer::ParamsBatchTransformations::RemoveDuplicatesStrategy
- Inherits:
-
Object
- Object
- Dionysus::Consumer::ParamsBatchTransformations::RemoveDuplicatesStrategy
- Defined in:
- lib/dionysus/consumer/params_batch_transformations/remove_duplicates_strategy.rb
Instance Method Summary collapse
Instance Method Details
#call(params_batch) ⇒ Object
4 5 6 7 8 |
# File 'lib/dionysus/consumer/params_batch_transformations/remove_duplicates_strategy.rb', line 4 def call(params_batch) return params_batch if duplicates_removal_not_applicable?(params_batch) Karafka::Messages::Messages.new((params_batch), params_batch.) end |