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

feat: add support for topic description and ownership #1843

Merged

Conversation

roope-kar
Copy link
Member

About this change—what it does

Add capability to set description and owner group per topic.

Why this way

topic description and owner user group are now supported per topic in aiven API's. Both fields are optional. Especially the owner group field will provide basic governing functionality by being able to mark owner to a topic.

Worth mentioning is that due to how the Aiven topic update endpoint works (fields are reset by sending the field as null to the endpoint) it is not possible to remove the field from config to unset it. In order to unset one of these fields, terraform destroy and terraform apply must be done in order to completely unset these fields.

@roope-kar roope-kar requested a review from a team as a code owner September 13, 2024 09:02
@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch 4 times, most recently from 64b7f18 to 90b353c Compare September 13, 2024 09:21
@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch 2 times, most recently from fbf72ae to 62c6fef Compare September 13, 2024 12:47
@roope-kar roope-kar requested a review from byashimov September 13, 2024 12:47
@roope-kar
Copy link
Member Author

@byashimov Thank you for the review. I moved the changelog entry and moved the related tests into own test case.

@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch 3 times, most recently from b0e8124 to 975bfbb Compare September 16, 2024 06:39
@roope-kar roope-kar dismissed byashimov’s stale review September 16, 2024 06:51

Comments resolved

@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch from 975bfbb to 817917f Compare September 16, 2024 06:55
@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch 2 times, most recently from 00f0ebf to 785db92 Compare September 16, 2024 09:11
@roope-kar
Copy link
Member Author

Rebased

@roope-kar roope-kar force-pushed the rkar-add-support-for-topic-description-and-ownership branch from 785db92 to 0d260b0 Compare September 16, 2024 09:14
Add capability to set description and owner group per topic.
@byashimov byashimov force-pushed the rkar-add-support-for-topic-description-and-ownership branch from 0d260b0 to 515cbc1 Compare September 16, 2024 11:11
@byashimov byashimov enabled auto-merge (squash) September 16, 2024 11:12
@byashimov byashimov merged commit 408bc33 into main Sep 16, 2024
10 checks passed
@byashimov byashimov deleted the rkar-add-support-for-topic-description-and-ownership branch September 16, 2024 11:14
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