Snowflake High Performance connector for Kafka: Configure Snowflake¶
This topic describes the steps to configure Snowflake for Snowflake High Performance connector for Kafka.
Snowflake recommends that you create a separate user, using CREATE USER and role using CREATE ROLE for each Kafka instance so that the access privileges can be individually revoked as required.
Creating a role to use the Kafka connector¶
The following creates a custom role for use by the Kafka connector, for example KAFKA_CONNECTOR_ROLE.
The script references a specific existing database and schema (kafka_db.kafka_schema)
and user (kafka_connector_user_1):
Note that any privileges must be granted directly to the role used by the connector. Grants cannot be inherited from role hierarchy.
For more information on creating custom roles and role hierarchies, see Configuring access control.
Required privileges¶
The connector requires the following privileges to create and manage Snowflake objects:
Object |
Privilege |
When Required |
|---|---|---|
Database |
USAGE |
Always required |
Schema |
USAGE |
Always required |
Pipe |
OPERATE |
If using user-defined pipes |
Destination table |
INSERT |
Always required |