Skip to content

Conversation

slinkydeveloper
Copy link
Contributor

@slinkydeveloper slinkydeveloper commented Oct 7, 2025

This is not a useful abstraction these days, it was introduced long ago when we didn't have Configuration::pinned.

Followup of #3859

…abstraction these days, it was introduced long ago when we didn't have Configuration::pinned.
Copy link
Contributor

@muhamadazmy muhamadazmy left a comment

Choose a reason for hiding this comment

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

LGTM! left only a small question

Comment on lines +1265 to +1266
if !(cluster_options.contains_key("client.id")
|| subscription.metadata().contains_key("client.id"))
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this code just moved around. but would appreciate if you explain to me this condition here.

Copy link
Contributor Author

@slinkydeveloper slinkydeveloper Oct 7, 2025

Choose a reason for hiding this comment

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

client.id is the consumer group id in kafka.

We set this at registration time, when the user didn't provide it, to avoid that it gets auto regenerated, thus avoiding that a new new consumer group gets created on each "restart" of the kafka subscription

@slinkydeveloper slinkydeveloper merged commit 05e8afc into restatedev:main Oct 7, 2025
25 checks passed
@slinkydeveloper slinkydeveloper deleted the issues/improve-schema-registry-organization branch October 7, 2025 14:22
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants