Skip to content

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

Open
lvthanh03 wants to merge 1 commit into
mainfrom
tony/reloading-consumer
Open

lvthanh03 wants to merge 1 commit into
mainfrom
tony/reloading-consumer

Conversation

@lvthanh03

Copy link
Copy Markdown
Member

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
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.

1 participant