Skip to content

Comments

Rename number of events#917

Merged
tagomoris merged 4 commits intomasterfrom
rename-number-of-events
Apr 27, 2016
Merged

Rename number of events#917
tagomoris merged 4 commits intomasterfrom
rename-number-of-events

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