Sha256: ca3342ed19f30cf4572ac48a7be4d86143d578d77c6cd197f4a0c86fef317359

Contents?: true

Size: 393 Bytes

Versions: 5

Compression:

Stored size: 393 Bytes

Contents

# 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

5 entries across 5 versions & 1 rubygems

Version Path
karafka-0.6.0.rc1 lib/karafka/templates/application_responder.rb.example
karafka-0.5.0.3 lib/karafka/templates/application_responder.rb.example
karafka-0.5.0.2 lib/karafka/templates/application_responder.rb.example
karafka-0.5.0.1 lib/karafka/templates/application_responder.rb.example
karafka-0.5.0 lib/karafka/templates/application_responder.rb.example