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/circuit-breaker #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yukselcodingwithyou
Copy link

added circuit breaker with retry mechanism to client module.

  1. Enable cb by config
  2. Enable retry by config
  3. Enable both by config

A new Send method is added to 'Base'

#9

… client module.

1. Enable cb by config
2. Enable retry by config
3. Enable both by config

A new Send method is added to 'Base'
@ahmetcanozcan
Copy link
Contributor

Abi selamlar, eline sağlık. Burada Send diye yeni bir method eklemeden bu işi çözebiliriz gibi. Kullanım açısından c.Request(ctx).Post syntax'ından çok çıkmama taraftarıyım. http.RoundTripper veya resty'nin kendi hooklarıyla bunu ekleyebiliriz gibi.

custom RoundTripper için otelclient modulüne bakabilirsin orada request atarken araya girip tracing süreçlerini uyguladığımız bir örnek de var.

@ispiroglu burada senin bir çalışman olmuştu bi bakabilir misin sen de.

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.

2 participants