All Products
Search
Document Center

ApsaraMQ for Kafka:Prerequisites

Last Updated:Mar 07, 2024

Before you create a sink connector, make sure that the requirements that are described in this topic are met.

Service activation

  • EventBridge is activated and the required permissions are granted to a Resource Access Management (RAM) user. For more information, see Activate EventBridge and grant permissions to a RAM user.

  • Function Compute is activated. For more information, see Activate Function Compute.

  • The destination service is activated. For example, if you want to create a Tablestore sink connector, Tablestore must be activated.

Note

If you want to create a Simple Log Service sink connector, you do not need to activate Function Compute.

Permissions

  • If you use an Alibaba Cloud account to create a sink connector in the ApsaraMQ for Kafka console, follow the on-screen instructions to grant the permissions.

  • If you use a RAM user to create a sink connector in the ApsaraMQ for Kafka console, make sure that the following policies are attached to the RAM user:

    • AliyunRAMFullAccess: the permissions to manage cloud service licenses.

    • AliyunKafkaFullAccess: the permissions to manage ApsaraMQ for Kafka resources.

    • AliyunFCFullAccess: the permissions to manage Function Compute resources.

    • AliyunEventBridgeFullAccess: the permissions to manage EventBridge resources.

    • The policy that contains the permissions to manage the resources of the destination service.

    If you want to use extended capabilities, you must also obtain other required permissions. Examples:

    • If you want to access the destination service in a virtual private cloud (VPC), the AliyunVPCFullAccess policy must be attached to the RAM user. The policy contains the permissions to manage VPC resources.

    • If you want to view the running logs of Function Compute, the AliyunLogFullAccess policy must be attached to the RAM user. The policy contains the permissions to manage Simple Log Service resources.

Create resources