How to throttle Kafka Consumer on the basis of QPS to be supported?
up vote
0
down vote
favorite
Use Case :
Consume Data from Kafka, and then write to a DB which is bound by a max QPS.
Predicted solution :
throttle the rate of consumption to a limit which is less the max write QPS of the DB.
Query:
Guava gives a rate limiter which can be implemented here, but does Kafka supports consumer rate limiting itself rather than implementing third party options.
References for features on Kafka Rate Limiting :
https://cwiki.apache.org/confluence/display/KAFKA/KIP-13+-+Quotas
Also, how can the quota rate limiting can be applied in this case ?
java apache-kafka kafka-consumer-api
add a comment |
up vote
0
down vote
favorite
Use Case :
Consume Data from Kafka, and then write to a DB which is bound by a max QPS.
Predicted solution :
throttle the rate of consumption to a limit which is less the max write QPS of the DB.
Query:
Guava gives a rate limiter which can be implemented here, but does Kafka supports consumer rate limiting itself rather than implementing third party options.
References for features on Kafka Rate Limiting :
https://cwiki.apache.org/confluence/display/KAFKA/KIP-13+-+Quotas
Also, how can the quota rate limiting can be applied in this case ?
java apache-kafka kafka-consumer-api
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Use Case :
Consume Data from Kafka, and then write to a DB which is bound by a max QPS.
Predicted solution :
throttle the rate of consumption to a limit which is less the max write QPS of the DB.
Query:
Guava gives a rate limiter which can be implemented here, but does Kafka supports consumer rate limiting itself rather than implementing third party options.
References for features on Kafka Rate Limiting :
https://cwiki.apache.org/confluence/display/KAFKA/KIP-13+-+Quotas
Also, how can the quota rate limiting can be applied in this case ?
java apache-kafka kafka-consumer-api
Use Case :
Consume Data from Kafka, and then write to a DB which is bound by a max QPS.
Predicted solution :
throttle the rate of consumption to a limit which is less the max write QPS of the DB.
Query:
Guava gives a rate limiter which can be implemented here, but does Kafka supports consumer rate limiting itself rather than implementing third party options.
References for features on Kafka Rate Limiting :
https://cwiki.apache.org/confluence/display/KAFKA/KIP-13+-+Quotas
Also, how can the quota rate limiting can be applied in this case ?
java apache-kafka kafka-consumer-api
java apache-kafka kafka-consumer-api
edited Nov 20 at 4:14
asked Nov 19 at 7:21
Darshnik Swamy
87
87
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53369992%2fhow-to-throttle-kafka-consumer-on-the-basis-of-qps-to-be-supported%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown