Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Topic properties support for update and remove #5911

Merged
merged 6 commits into from
Sep 27, 2023
Merged

Topic properties support for update and remove #5911

merged 6 commits into from
Sep 27, 2023

Commits on Sep 27, 2023

  1. [broker][admin]Add api for update topic properties (apache#17238)

    (cherry picked from commit b21f728)
    AnonHxy authored and liangyepianzhou committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    ff2c1ac View commit details
    Browse the repository at this point in the history
  2. [broker][admin] Add cmd to remove topic properties (apache#17337)

    * [broker][admin] Add cmd to remove topic properties
    
    * address comment
    
    * address comment
    
    (cherry picked from commit 7075a5c)
    (cherry picked from commit 6f8dbc7)
    yuruguo authored and liangyepianzhou committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    351470c View commit details
    Browse the repository at this point in the history
  3. [fix][broker] Fix NPE when updating topic's properties (apache#17352)

    Co-authored-by: bjhuxiaohua <[email protected]>
    (cherry picked from commit f1d1158)
    (cherry picked from commit 723ad75)
    Flowermin authored and liangyepianzhou committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    28ecbde View commit details
    Browse the repository at this point in the history
  4. [fix][broker] Fix NPE when update topic properties.

    ### Motivation
    
    In Pulsar 2.10, when creating a producer/consumer that auto-creates a topic and then attempts to update its properties, a NullPointerException (NPE) occurs. The reason is that Pulsar 2.10 does not correctly handle the case when the properties are `null`.
    ### Modifications
    
    Add an NPE check.
    
    (cherry picked from commit 0b02321)
    liangyepianzhou committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    337fdab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6bec650 View commit details
    Browse the repository at this point in the history
  6. import

    liangyepianzhou committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    e15238d View commit details
    Browse the repository at this point in the history