Class: Karafka::Deserializers::Headers

Inherits:
Object
  • Object
show all
Defined in:
lib/karafka/deserializers/headers.rb

Overview

Default message headers deserializer

Instance Method Summary collapse

Instance Method Details

#call(metadata) ⇒ Hash

Returns expected message headers hash.

Parameters:

Returns:

  • (Hash)

    expected message headers hash



10
11
12
# File 'lib/karafka/deserializers/headers.rb', line 10

def call()
  .raw_headers
end