Sha256: e5e72f544a4c0f28ac3eec2caf4a40b3552e50d2ca8631333c7b35ea3adc2a86

Contents?: true

Size: 424 Bytes

Versions: 54

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

# Application responder from which all Karafka responders should inherit
# You can rename it if it would conflict with your current code base (in case you're integrating
# Karafka with other frameworks)
class ApplicationResponder < Karafka::BaseResponder
  # This method needs to be implemented in each of the responders
  # def respond(data)
  #   respond_to :topic, data.to_json
  # end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
karafka-1.2.0 lib/karafka/templates/application_responder.rb.example
karafka-1.2.0.beta4 lib/karafka/templates/application_responder.rb.example
karafka-1.2.0.beta3 lib/karafka/templates/application_responder.rb.example
karafka-1.2.0.beta2 lib/karafka/templates/application_responder.rb.example
karafka-1.2.0.beta1 lib/karafka/templates/application_responder.rb.example
karafka-1.1.2 lib/karafka/templates/application_responder.rb.example
karafka-1.1.1 lib/karafka/templates/application_responder.rb.example
karafka-1.1.0 lib/karafka/templates/application_responder.rb.example
karafka-1.1.0.alpha2 lib/karafka/templates/application_responder.rb.example
karafka-1.1.0.alpha1 lib/karafka/templates/application_responder.rb.example
karafka-1.0.1 lib/karafka/templates/application_responder.rb.example
karafka-1.0.0 lib/karafka/templates/application_responder.rb.example
karafka-1.0.0.rc1 lib/karafka/templates/application_responder.rb.example
karafka-0.6.0.rc2 lib/karafka/templates/application_responder.rb.example