Configure GCP for a Google Cloud Storage sink connector#

To be able to sink data from Apache Kafka® to Google Cloud Storage via the dedicated Aiven connector, you need to perform the following steps in the GCP console:

Create the Google Cloud Storage (GCS) bucket#

You can create the GCS bucket using the dedicated Google cloud console page. When creating the bucket, specify bucket name and location, the other settings can be left as default.

Create a new Google service account and generate a JSON service key#

Follow the instructions to:

  • create a new Google service account

  • create a JSON service key

The JSON service key will be used in the connector configuration

Grant the service account access to the GCS bucket#

Navigate in the GCS bucket detail page, in the Permissions tab and grant access to the newly created service account to the bucket. The Storage Object Creator role is sufficient for the connector.