Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove promise queue from batch manager #27905

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

pl
Copy link
Contributor

@pl pl commented Jan 27, 2025

Problem

I implemented synchronization in the session batch manager due to misunderstanding how the Kafka consumer API worked.

Changes

Simplifies the session batch manager by removing the synchronization using a promise queue.

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Unit tests.

@pl pl requested review from benjackwhite and a team January 27, 2025 11:41
Copy link
Contributor

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought we might end up here ;)

@pl pl merged commit 32124c9 into master Jan 31, 2025
92 checks passed
@pl pl deleted the pl/mrbv2_remove_promise_sync branch January 31, 2025 10:16
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