Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetKafkaRateByConfig ¶
func SetKafkaRateByConfig(config *runtimeconfig.RuntimeRateConfig)
Types ¶
type KafkaRate ¶
type KafkaRate struct { IsEnableRateQuota bool WriteRequestLimiter *rate.Limiter WriteByteLimiter *rate.Limiter CatchupReadRequestLimiter *rate.Limiter CatchupReadByteLimiter *rate.Limiter EndReadRequestLimiter *rate.Limiter EndReadByteRateLimiter *rate.Limiter }
func GetKafkaRate ¶
func GetKafkaRate() *KafkaRate
Click to show internal directories.
Click to hide internal directories.