Azure-Samples / Azure-Samples/azure-sdk-for-go-samples

How can I use the rate Limiter for azure client

Open
#369 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
308
Forks
186
PR merge metrics
No merged PRs in 30d

Description

# I am not able to set the rate limiter for azure client,
package - "golang.org/x/time/rate"
/ Create a new limiter that allows 10 requests per second.
limiter := rate.NewLimiter(10, 1)

Pl help me the sample code to set the rate limiter for azure client.

- [ ] request for new sample

Contributor guide

Open the contributing guide

Research direction

Start by identifying which Azure client and sample location this request targets; the issue does not name a service, file, or test. Review the existing Go samples and the golang.org/x/time/rate limiter usage, then define completion as a sample that demonstrates applying the limiter to the Azure client.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go
Domain
cloud, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.