You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/07 04:36:18 UTC

[GitHub] [pulsar] disserakt created a discussion: Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it.

GitHub user disserakt created a discussion: Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it.

**Context:**
At the moment we cannot change the topic type from non-partitioned to partitioned for topics that already exist and contain data. Such topics can now only be deleted and created as partitioned.
In this case, we lose data.
In order to keep the existing data in topics, it is highly desirable to have a way to transform the topic type from non-partitioned to partitioned and vice versa.

**Desirable solution:**
For example, for the command - `pulsar-admin topics`, create a key - `transform-type`, with flags:
```
--to-non-partitioned
--to-partitioned
```
which will allow us to transform the topic type.



GitHub link: https://github.com/apache/pulsar/discussions/18787

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org


Re: [D] Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it. [pulsar]

Posted by "brunocascio (via GitHub)" <gi...@apache.org>.
GitHub user brunocascio added a comment to the discussion: Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it.

Any idea about how to do this? 

GitHub link: https://github.com/apache/pulsar/discussions/18787#discussioncomment-17446320

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] codelipenghui added a comment to the discussion: Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it.

Posted by GitBox <gi...@apache.org>.
GitHub user codelipenghui added a comment to the discussion: Add the ability to transform an existing non-partitioned to a partitioned topic without deleting it.

The issue had no activity for 30 days, mark with Stale label.

GitHub link: https://github.com/apache/pulsar/discussions/18787#discussioncomment-4329304

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org