Class: Karafka::Pro::Routing::Features::Throttling

Inherits:
Base show all
Defined in:
lib/karafka/pro/routing/features/throttling.rb,
lib/karafka/pro/routing/features/throttling/topic.rb,
lib/karafka/pro/routing/features/throttling/config.rb,
lib/karafka/pro/routing/features/throttling/contracts/topic.rb

Overview

Ability to throttle ingestion of data per topic partition Useful when we have fixed limit of things we can process in a given time period without getting into trouble. It can be used for example to:

- make sure we do not insert things to DB too fast
- make sure we do not dispatch HTTP requests to external resources too fast

This feature is virtual. It materializes itself via the ‘Filtering` feature.

Defined Under Namespace

Modules: Contracts, Topic Classes: Config

Method Summary

Methods inherited from Routing::Features::Base

activate, load_all, post_setup_all, pre_setup_all