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

Rename number of events #917

Merged
merged 4 commits into from
Apr 27, 2016
Merged

Rename number of events #917

merged 4 commits into from
Apr 27, 2016

Conversation

tagomoris
Copy link
Member

@tagomoris tagomoris commented Apr 26, 2016

in EventStream and Chunk.

But I leave a parameter name of chunk_records_limit because I think it's understandable for users, and queued_records and some other names of implementation / internal APIs.

In v0.12, Chunk#size means bytes of chunk content. So I'll add a mixin to extend chunks to return bytes of chunk content by #size, and apply it to chunks on compatibility layers.

* this change is almost along with ruby's String
  * # of elements in this object is provided by #size
  * amount of physical representation is provided by #bytesize
* and fixed Fluent::Plugin::Output to use renamed method
@tagomoris
Copy link
Member Author

@repeatedly @sonots check please.

@sonots
Copy link
Member

sonots commented Apr 26, 2016

I'll add a mixin to extend chunks to return bytes of chunk content by #size, and apply it to chunks on compatibility layers.

Okay, looks good to me.

@tagomoris tagomoris merged commit 07fb591 into master Apr 27, 2016
@tagomoris tagomoris deleted the rename-number-of-events branch May 17, 2016 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants