[BUG] MaxRetries / MaximumRetries configurations are not working correctly in Elastic.Serilog.Sinks
- Dominant language
- HTML
- Stars
- 137
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
**ECS integration/library project(s)**:
Elastic.Serilog.Sinks
**ECS schema version **:
8.6.1
**ECS .NET assembly version**:
.net 6
**Elasticsearch version (if applicable)**:
8.10.2
**.NET framework / OS**:
.net 6 / windows
**Description of the problem, including expected versus actual behavior**:
BufferOptions > ExportMaxRetries
TransportConfiguration > MaximumRetries
none of these configurations are working as it keeps calling **ExportExceptionCallback** forever and when using **ExportItemsAttemptCallback** the number of retries is always 0
**Steps to reproduce**:
1. run project with the elasticsearch container running to make sure startup configuration is correct
2. stop elasticsearch container
3. do any activity that writes any logs and observe ExportExceptionCallback and ExportItemsAttemptCallback
Contributor guide
Assessment
This issue has not been assessed yet.