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.4.15 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.14 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.13 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.12 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.11 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.10 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.9 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.8 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.7 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.6 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.5 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.4 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.3 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.2 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.1 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.0 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.0.rc2 lib/karafka/templates/application_responder.rb.erb
karafka-1.4.0.rc1 lib/karafka/templates/application_responder.rb.erb
karafka-1.3.7 lib/karafka/templates/application_responder.rb.erb
karafka-1.3.6 lib/karafka/templates/application_responder.rb.erb