-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(ingest/kafka):add poll for admin client for oauth_cb #11985
base: master
Are you sure you want to change the base?
fix(ingest/kafka):add poll for admin client for oauth_cb #11985
Conversation
) -> AdminClient: | ||
client = AdminClient( | ||
{ | ||
"group.id": "test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be some random group id?
test
seems to be too generic, what if it already exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true. I read some details here - https://developer.confluent.io/faq/apache-kafka/kafka-clients/#kafka-clients-what-is-groupid-in-kafka
How about "group.id": "datahub-kafka-ingestion", that shouldn't conflict, right ? I'm not sure about using completely random string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, we actually do not consume any messages so any group id is fine, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should work as it is datahub-specific, so there is less chance to collide
Co-authored-by: Tamas Nemeth <[email protected]>
Co-authored-by: Tamas Nemeth <[email protected]>
Followup on #11900
Checklist