forked from docs/doc-exports
Reviewed-by: Antonova, Ekaterina <ekantono@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1.9 KiB
1.9 KiB
Process of Using Kafka
Distributed Message Service is a message queuing service that is based on the open-source Apache Kafka. It provides Kafka instances with isolated computing, storage, and bandwidth resources. The following figure shows the process of message production and consumption using a Kafka instance.
- Creating a User and Granting DMS for Kafka Permissions
Create IAM users and grant them only the DMS for Kafka permissions required to perform a given task based on their job responsibilities.
- Creating a Kafka Instance
Kafka instances are tenant-exclusive, and physically isolated in deployment.
- Creating a Kafka Topic
Create a topic for storing messages so that producers can produce messages and consumers can subscribe to messages.
- Connecting to an Instance
The client uses commands to connect to Kafka instances in a private or public network, and produces and consumes messages.