Skip to content

Commit

Permalink
Merge pull request #159 from komamitsu/doc-buffer-flush
Browse files Browse the repository at this point in the history
Add a diagram about buffer flushing in README.md
  • Loading branch information
komamitsu committed Apr 11, 2020
2 parents 7b3dca7 + 0b604be commit fda08f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -102,8 +102,12 @@ FluencyBuilderForFluentd builder = new FluencyBuilderForFluentd();
builder.setFileBackupDir(System.getProperty("java.io.tmpdir"));
Fluency fluency = builder.build();
```
#### Buffer configuration

##### Buffer configuration for high throughput data ingestion with high latency
Fluency has some parameters to configure a flush timing of buffer. This diagram may help to understand it.
<img src="https://raw.githubusercontent.com/wiki/komamitsu/fluency/images/buffer-flush.png" alt="buffer-flush" width="640"/>

###### For high throughput data ingestion with high latency

```java
// Single Fluentd(xxx.xxx.xxx.xxx:24224)
Expand Down

0 comments on commit fda08f3

Please sign in to comment.