Skip to content

Add length-delimited option to encoder and decoder#48

Open
arman1371 wants to merge 5 commits intologstash-plugins:mainfrom
arman1371:length-delimited
Open

Add length-delimited option to encoder and decoder#48
arman1371 wants to merge 5 commits intologstash-plugins:mainfrom
arman1371:length-delimited

Conversation

@arman1371
Copy link
Copy Markdown

Some databases (like clickhouse) just accept length-delimited messages and there isn't any option to send or receive length-delimited messages.
I added an option to support encoding and decoding of length-delimited messages.

@IngaFeick IngaFeick mentioned this pull request Sep 3, 2020
@jorgelbg
Copy link
Copy Markdown
Contributor

jorgelbg commented Sep 3, 2020

@arman1371 thank you for the PR!

We’ve created issue #58 to track the underline support for length-delimited messages, as this has been mentioned a couple of times. It would be great if your PR contained some test cases to ensure that the feature works as expected.

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

Successfully merging this pull request may close these issues.

2 participants