Describes how to edit streams using the Control System and the CLI.
| Property | Description |
|---|---|
| Time To Live | The amount of time to elapse between the publication
of a message in a topic in this stream and the
expiration of that message. Choose:
|
| Compression | The compression setting to use for the stream.
Producer client libraries can bundle messages that are
to be published on the same partition and compress them.
The messages are sent to the server compressed, are
stored compressed, are replicated to other containers
compressed, and (if stream replication is configured)
replicated to replica streams compressed. Consumer
client libraries receive compressed data, decompress it,
and pass it to client applications. Choose from one of
the following compression settings:
|
| Auto Create Topics | Whether (Yes) or not (No) to create a topic automatically when a producer tries to write the first message to it. |
| Default Partitions | The default number of partitions to allocate to new topics in the stream. |
| Compact | Enable (Yes) or disable (No) log compaction. If enabled, obsolete records from topics are detected and deleted. By default, this is disabled (No). |
| Administer | Can modify the Access Control Expression (ACE) for
the stream, set up replication from the stream, and
modify attributes of the stream. This permission includes the topic permission. |
| Copy Stream | Can copy data from one HPE Ezmeral Data Fabric
stream to another HPE Ezmeral Data Fabric stream (using the
mapr copystream utility) and
compare the message IDs, metadata, and data in two HPE Ezmeral Data Fabric streams (using the mapr
diffstreams utility). |
| Topic | Can create, edit, or remove topics in the stream. |
| Producer | Can publish messages to topics in the stream. |
| Consumer | Can listen to topics in the stream. |
! — Negation operator.& — AND operation.| — OR operation.(), parentheses, for subexpressions.
Alternatively, click
associated with the type of access to use the Access
Control Expression window to define access for
public or users, group, and/or role. See Defining ACEs Using the Access Control Expression Builder for more information.
The basic command to edit a stream is
/opt/mapr/bin/maprcli stream edit -path <Stream Path>
To run this command, your user ID must have the following permissions:
readAce and writeAce on the volumelookupdir on directories in the pathadminperm permission on the streamFor complete reference information, see
stream edit.