-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Any Flutned Forward Protocol Specification? #671
Comments
Thanks for writing this up. |
I'm sorry but I've been missing the streaming feature. I've added it as well as Grammar section below. Connection ::= <<Request>>*
Request ::= Message | Forward | PackedForward | nil
Message ::= [ Tag, Time, Record, Option? ]
Forward ::= [ Tag, MultiEventStream, Option? ]
MultiEventStream ::= [ Event* ]
PackedForward ::= [ Tag, MessagePackEventStream, Option? ]
MessagePackEventStream ::= <<Event>>*
Event ::= [ Time, Record ]
Tag ::= string
Time ::= integer | EventTime
Record ::= object
Option ::= object |
I'd like to ask experts about some points below, for instance. (1)
(2)
I guess there is a simple reason that the msgpack specification had no I've confirmed that (3) I found only one usage of the option parameter. It's {"chunk": "p8n9gmxTQVC8/nh2wlKKeQ=="} |
This is for some environment which doesn't have msgpack library, e.g. newest IoT devices.
Right. Some msgpack libraries don't support latest msgpack format yet so
One is compression support: #637 |
Oh, I missed this issue. I'll make progress about this in these few weeks. |
I created a Forward Protocol Specification page on Wiki.
I did some changes before committing first version, but almost changes are available with this link: @repeatedly @kawanet Could you review contents? |
gorgeous! |
I added some fixes for English, and added " v0" suffix for page name. |
It seems good. |
OK. I removed "under construction" and added a section for Changes. |
Is there any of documentation which describes a protocol between
out_forward
andin_forward
plugins?http://docs.fluentd.org/articles/in_forward describes some part of the protocol but not completed.
PackedForward
is used byout_forward
but not documented, for instance.After diving into
in_forward.rb
, I've tried to write a snippet about the protocol specification.https://gist.github.com/kawanet/078e274952638fd53150
It also mentions
EventTime
ext format of type 0 discussed on issue #653 as well as plain old Integer time. I hope some protocol experts could give a comment on it.The text was updated successfully, but these errors were encountered: