Skip to content

Conversation

@joshuawscott
Copy link
Member

@joshuawscott joshuawscott commented May 19, 2018

Replaces #231 by @vjache

This just handles the merge conflicts and I will also clean up ebert complaints

Original description:

This change makes using iolist instead of contiguous binary when building packet being compressed and/or sent.

P.S. Unit tests & dialyzer passed successfully but I'm failed to wait for finish integration tests, they just hanging without any log messages. Anyway, I making this PR, in case someone find time to run all integration tests.

@sourcelevel-bot
Copy link

Ebert has finished reviewing this Pull Request and has found:

  • 3 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/kafkaex/kafka_ex/pulls/290.

@joshuawscott joshuawscott requested review from bjhaid and dantswain May 22, 2018 22:50
Copy link
Collaborator

@dantswain dantswain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@joshuawscott
Copy link
Member Author

Created #291 to track making this happen to the other protocol messages.

@joshuawscott joshuawscott merged commit 808d9e2 into master May 23, 2018
@joshuawscott joshuawscott deleted the iolist_cleanup branch May 23, 2018 14:56
habutre added a commit to habutre/kafka_ex that referenced this pull request Oct 29, 2019
This commit aim to review possible uses of binary concatenation rather
than iolist concat that according with outcomes from issues kafkaex#231 and kafkaex#290
had proofed to be more efficient

In the end any other binary concat were found, but some small changes will
be proposed as follows:

1. The Common module was returning a empty string instead empty iolist on
`topic_data([])`, there is not big improvements here but a normalization
among protocol modules

2. Replace literal size values to meaningful module attributes
habutre added a commit to habutre/kafka_ex that referenced this pull request Oct 29, 2019
This commit aim to review possible uses of binary concatenation rather
than iolist concat that according with outcomes from issues kafkaex#231 and kafkaex#290
had proofed to be more efficient

In the end any other binary concat were found, but some small changes will
be proposed as follows:

1. The Common module was returning a empty string instead empty iolist on
`topic_data([])`, there is not big improvements here but a normalization
among protocol modules

2. Replace literal integer size values to meaningful module attributes
on Produce module
robotarmy pushed a commit to RAM9/kafka_ex that referenced this pull request Apr 7, 2025
robotarmy pushed a commit to RAM9/kafka_ex that referenced this pull request Apr 7, 2025
This commit aim to review possible uses of binary concatenation rather
than iolist concat that according with outcomes from issues kafkaex#231 and kafkaex#290
had proofed to be more efficient

In the end any other binary concat were found, but some small changes will
be proposed as follows:

1. The Common module was returning a empty string instead empty iolist on
`topic_data([])`, there is not big improvements here but a normalization
among protocol modules

2. Replace literal integer size values to meaningful module attributes
on Produce module
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.

5 participants