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

Feature Failover sink #142

Merged
merged 10 commits into from
Feb 6, 2024
Merged

Feature Failover sink #142

merged 10 commits into from
Feb 6, 2024

Conversation

ArieGato
Copy link
Owner

@ArieGato ArieGato commented Feb 4, 2024

Fixes #133

  • add failover support when RabbitMQ is unavailable.
  • add sample projects
  • reworked the logging configuration

- Add failure sink to log events while RabbitMQ is unavailable
- Removed AmqpUri support
- Refactored the Configuration extensions
- Add console app samples projects
- replaced hostname config with hostnames
- upgrade codecov task to v4
Add readme file as package readme
@ArieGato
Copy link
Owner Author

ArieGato commented Feb 4, 2024

@sungam3r could you take a look at this PR?

@ArieGato ArieGato self-assigned this Feb 4, 2024
Add more tests for Configuration Extensions
@ArieGato ArieGato mentioned this pull request Feb 5, 2024
@@ -1,3 +1,7 @@
# https://docs.codecov.com/docs/codecov-yaml

ignore:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be done at coverlet level via exclude filters

README.md Outdated Show resolved Hide resolved
@sungam3r
Copy link
Collaborator

sungam3r commented Feb 5, 2024

I looked briefly all the changes.

ArieGato and others added 6 commits February 5, 2024 21:27
Co-authored-by: Ivan Maximov <sungam3r@yandex.ru>
…ling.cs

Co-authored-by: Ivan Maximov <sungam3r@yandex.ru>
…ling.cs

Co-authored-by: Ivan Maximov <sungam3r@yandex.ru>
…ation.cs

Co-authored-by: Ivan Maximov <sungam3r@yandex.ru>
… tests

Removed HostNames count in RabbitMQConnectionFactory. There's always 1 host name
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (4b0e478) 81.86% compared to head (35bf356) 96.53%.

Files Patch % Lines
...s.RabbitMQ/LoggerConfigurationRabbitMQExtension.cs 91.80% 2 Missing and 3 partials ⚠️
...ilog.Sinks.RabbitMQ/Sinks/RabbitMQ/RabbitMQSink.cs 94.73% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #142       +/-   ##
===========================================
+ Coverage   81.86%   96.53%   +14.66%     
===========================================
  Files           9        8        -1     
  Lines         353      346        -7     
  Branches       64       41       -23     
===========================================
+ Hits          289      334       +45     
+ Misses         34        5       -29     
+ Partials       30        7       -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ArieGato ArieGato merged commit b6b5298 into master Feb 6, 2024
3 checks passed
This was referenced Feb 8, 2024
@ArieGato ArieGato deleted the feature/133-failover-sink branch March 15, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Failover Sink when RabbitMQ is unavailable
3 participants