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: get ready to support multiple topics in one wolff_producers #71

Merged

Conversation

zmstone
Copy link
Contributor

@zmstone zmstone commented Jul 20, 2024

No description provided.

@zmstone zmstone force-pushed the 0719-refactor-prepare-fore-multiple-topics branch from 3c4a18b to b4c044c Compare July 20, 2024 18:28
@zmstone zmstone requested a review from thalesmg July 20, 2024 18:28
src/wolff_producers.erl Outdated Show resolved Hide resolved
src/wolff_producers.erl Show resolved Hide resolved
@@ -529,3 +540,31 @@ ensure_timer_cancelled(Tref) when is_reference(Tref) ->
ok;
ensure_timer_cancelled(_) ->
ok.

supervisor_child_id(St) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Should the supervisor use this same function to make it consistent by construction?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

producer id is not exactly the supervisor child id.
i'll make it simpler

Topic name in producers table is either namespaced by
client-ID or group-name.
changelog.md Outdated Show resolved Hide resolved
@zmstone zmstone merged commit 5c6863e into kafka4beam:main Jul 22, 2024
6 checks passed
@zmstone zmstone deleted the 0719-refactor-prepare-fore-multiple-topics branch July 22, 2024 17:03
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