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

Add topicId to KafkaTopic status #9708

Merged
merged 2 commits into from
Feb 20, 2024
Merged

Add topicId to KafkaTopic status #9708

merged 2 commits into from
Feb 20, 2024

Conversation

fvaleri
Copy link
Contributor

@fvaleri fvaleri commented Feb 19, 2024

This should close #9651.

This should close strimzi#9651.

Signed-off-by: Federico Valeri <fedevaleri@gmail.com>
@scholzj scholzj added this to the 0.40.0 milestone Feb 19, 2024
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@scholzj
Copy link
Member

scholzj commented Feb 19, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@tombentley tombentley left a comment

Choose a reason for hiding this comment

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

One comment, but otherwise this LGTM. Thanks @fvaleri.

@@ -37,4 +38,13 @@ public String getTopicName() {
public void setTopicName(String topicName) {
this.topicName = topicName;
}

@Description("Topic id")
Copy link
Member

Choose a reason for hiding this comment

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

We're exposing this to client applications. We should try to define what it means so such applications can use it correctly. This is a bit tricky because we have the possibility of conflicting KafkaTopics. I think this is OK:

Suggested change
@Description("Topic id")
@Description("The topic's id. For a KafkaTopic with the ready condition, this will change only if the topic gets deleted and recreated with the same name.")

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Federico Valeri <fedevaleri@gmail.com>
@scholzj
Copy link
Member

scholzj commented Feb 20, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@scholzj scholzj merged commit 83e6dcb into strimzi:main Feb 20, 2024
21 checks passed
@fvaleri fvaleri deleted the add-topic-id branch February 20, 2024 15:31
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.

[Enhancement]: Add topicId to KafkaTopicStatus
5 participants