public/default
namespace.
consume
: allow the service account to consume messages.produce
: allow the service account to publish messages.functions
: allow the service account to submit and manage functions.sinks
: allow the service account to create and manage sink connectors.sources
: allow the service account to create and manage source connectors.packages
: allow the service account to upload and manage pulsar packages. If you want to submit a customized function/connector, then you will need to upload the function/connector’s JAR/NAR/Python file first, which requires the packages
permission.produce
and consume
permissions for the public/default
namespace.
public/default
namespace and follow the instructions below to create a topic, purchases
, which you will use to produce and consume events.
Item | Description |
---|---|
Persistent | Configure the type of the topic. - Persistent: messages in a persistent topic are durably persisted on the storage disk. - Non-persistent: messages in a non-persistent topic are not persisted on the storage disk. By default, it is set to Persistent. |
Topic Name | Enter a name for the topic. It is a string of up to 40 characters, supporting lowercase letters (a-z), numeric characters (0-9), and the special character hyphen (-). |
Partitions | (Optional) Configure the number of partitions for a partitioned topic. You can have from 1 up to 100 partitions per topic. It’s recommended to have at least 1 partition. |