Skip to content

A Consumer block expect a well-formatted message #155

@eddbbt

Description

@eddbbt

A conusmer block expects a specific object as message to parse and save, the scrutcure is not documented anywhere but in corresponding file. Official Docs shall be updated
Correct payload structure (extracted from file) to pass between pipe blocks is

 * `:key`: a unicode string that identifies the stream the message belongs to
 * `:metadata`: additional message metadata  (could be also and object)
 * `:type': message data type (e.g. integer, real, boolean, etc...)  (could be also and object)
 * `:subtype`: a string that represents the subtype, that is a mimetype for binaries.
 * `:timestamp`: timestamp in microseconds. (useful if explicit_timestamp is set in interface definition)
 * `:data`: the message payload.  (could be also and object)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions