Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Consumer block expect a well-formatted message #155

Open
eddbbt opened this issue Feb 23, 2024 · 0 comments
Open

A Consumer block expect a well-formatted message #155

eddbbt opened this issue Feb 23, 2024 · 0 comments

Comments

@eddbbt
Copy link

eddbbt commented Feb 23, 2024

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant