Skip to content

Commit

Permalink
[chore] [exporterhelper] Update docs to remove requeuing (#9723)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip authored Mar 7, 2024
1 parent 26d8aeb commit 2fe7ed8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions exporter/exporterhelper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To use the persistent queue, the following setting needs to be set:
The maximum number of batches stored to disk can be controlled using `sending_queue.queue_size` parameter (which,
similarly as for in-memory buffering, defaults to 1000 batches).

When persistent queue is enabled, the batches are being buffered using the provided storage extension - [filestorage] is a popular and safe choice. If the collector instance is killed while having some items in the persistent queue, on restart the items will be be picked and the exporting is continued.
When persistent queue is enabled, the batches are being buffered using the provided storage extension - [filestorage] is a popular and safe choice. If the collector instance is killed while having some items in the persistent queue, on restart the items will be picked and the exporting is continued.

```
┌─Consumer #1─┐
Expand All @@ -66,19 +66,19 @@ When persistent queue is enabled, the batches are being buffered using the provi
│ │ │ │ │ │ │ 3 │ ├───► (in progress)
write read └─────┬─────┘ ├───►│ └───┘ │
index index │ │ │ │
│ │ └─────────────┘
│ │
currently │ ┌─Consumer #4─┐
dispatched │ │ ┌───┐ │ Temporary
└───►│ │ 4 │ ├───► failure
│ └───┘ │ │
│ │ │
└─────────────┘ │
▲ │
└── Retry ───────┤
└────────────────────────────────────── Requeuing ◄────── Retry limit exceeded ───┘
│ │ └─────────────┘
│ │
currently │ ┌─Consumer #4─┐
dispatched │ │ ┌───┐ │ Temporary
└───►│ │ 4 │ ├───► failure
│ └───┘ │ │
│ │ │
└─────────────┘ │
▲ │
└── Retry ───────┤
X ◄────── Retry limit exceeded ───┘
```

Example:
Expand Down

0 comments on commit 2fe7ed8

Please sign in to comment.