stream topic editAllows you to increase the number of partitions that are in the specified topic.
readAce and writeAce on the volumelookupdir on directories in the pathtopicperm permission on the streammapr user is not treated as a
superuser. HPE Ezmeral Data Fabric Event Store does not allow the
mapr user to run this command unless that user is given the relevant
permission or permissions with access-control expressions.| CLI |
|
| REST | http[s]://<host>:<port>/rest/stream/topic/edit?path=<path>&topic=<name>&partitions=<number> |
| Parameter | Description |
|---|---|
path |
The path and name of the stream in which the topic is located. |
topic |
The name of the topic to edit. |
partitions |
The number of partitions to use for the topic. You cannot reduce the number of
partitions. To find out how many partitions a topic is currently using, run the
command Important: A CDC changelog stream's default partitions can impact how
many partitions a stream topic can have. This is because once you create a stream
topic for a changelog stream, the number of topic partitions is locked. The
number of topic partitions cannot change and the
stream topic
edit command can not modify the topic's partition number.
|
timestamptype |
Specifies the type of timestamp stored in the topic's message. Value:
createtime | logappendtime Default: createtime. The topic inherits the default value
from the stream unless the topic sets the timestamp type to a different value. A
A
|