Skip to content

feat(consumer): Add config to use Arroyo's reloading consumer - #879

Merged
lvthanh03 merged 1 commit into
mainfrom
tony/reloading-consumer
Dec 1, 2026
Merged

lvthanh03 merged 1 commit into
mainfrom
tony/reloading-consumer

Conversation

@lvthanh03

@lvthanh03 lvthanh03 commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Refs STREAM-1966

Adds the config use_reloading_consumer to consume with Arroyo's ReloadingAsyncKafkaConsumer instead of AsyncKafkaConsumer. When the config is disabled (which it is by default), there is no behavioural change.

  • Bump sentry_arroyo to 2.52.0 which has ReloadingAsyncKafkaConsumer
  • create_consumer returns a ConsumerBackend enum. With the flag on, it builds the reloading consumer from the existing client config. Otherwise the existing path is unchanged
  • Make backend unit tests and the rebalance, worker processing, upkeep retry/expiry/delay, failed tasks and multi-topic integration tests run against both consumers

@lvthanh03
lvthanh03 requested a review from a team as a code owner November 30, 2026 21:46
@lvthanh03
lvthanh03 merged commit 6458527 into main Dec 1, 2026
36 checks passed
@lvthanh03
lvthanh03 deleted the tony/reloading-consumer branch December 1, 2026 15:44
@linear-code

linear-code Bot commented Dec 1, 2026

Copy link
Copy Markdown

STREAM-1966

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants