Interface TopicChange

All Known Implementing Classes:
TopicChange.RemoveProperty, TopicChange.SetProperty, TopicChange.UpdateTopicComment

@Evolving public interface TopicChange
A topic change is a change to a topic. It can be used to update the comment of a topic, set a property and value pair for a topic, or remove a property from a topic in the catalog.
  • Method Details

    • updateComment

      static TopicChange updateComment(String newComment)
      Creates a new topic change to update the topic comment.
      Parameters:
      newComment - The new comment for the topic.
      Returns:
      The topic change.
    • setProperty

      static TopicChange setProperty(String property, String value)
      Creates a new topic change to set or update the property and value for the topic.
      Parameters:
      property - The property name to set.
      value - The value to set the property to.
      Returns:
      The topic change.
    • removeProperty

      static TopicChange removeProperty(String property)
      Creates a new topic change to remove a property from the topic.
      Parameters:
      property - The property name to remove.
      Returns:
      The topic change.