streamnative / pulsar-client-go

Apache Pulsar Go Client Library
https://pulsar.apache.org/
Apache License 2.0
1 stars 2 forks source link

ISSUE-725: Upgrade beefsack/go-rate #260

Open sijie opened 2 years ago

sijie commented 2 years ago

Original Issue: apache/pulsar-client-go#725


Is your feature request related to a problem? Please describe. Currently, apache/pulsar-client-go depends on github.com/beefsack/go-rate v0.0.0-20180408011153-efa7637bb9b6, which has a GPL license. It is non-compliant with CNCF's third party dependency guidelines for anyone who consumes it.

Describe the solution you'd like The latest version of https://github.com/beefsack/go-rate is MIT licensed. This proposal is to upgrade beefsack/go-rate in this library to achieve compliance.

Describe alternatives you've considered There are alternate rate-limiting libraries too, like https://github.com/uber-go/ratelimit