Step 4: Create connector - Amazon Managed Streaming for Apache Kafka

Step 4: Create connector

To create the connector
  1. Sign in to the AWS Management Console, and open the Amazon MSK console at https://console.aws.amazon.com/msk/home?region=us-east-1#/home/.

  2. In the left pane, expand MSK Connect, then choose Connectors.

  3. Choose Create connector.

  4. In the list of plugins, choose mkc-tutorial-plugin, then choose Next.

  5. For the connector name enter mkc-tutorial-connector.

  6. In the list of clusters, choose mkc-tutorial-cluster.

  7. Copy the following configuration and paste it into the connector configuration field.

    connector.class=io.confluent.connect.s3.S3SinkConnector s3.region=us-east-1 format.class=io.confluent.connect.s3.format.json.JsonFormat flush.size=1 schema.compatibility=NONE tasks.max=2 topics=mkc-tutorial-topic partitioner.class=io.confluent.connect.storage.partitioner.DefaultPartitioner storage.class=io.confluent.connect.s3.storage.S3Storage s3.bucket.name=<my-tutorial-destination-bucket> topics.dir=tutorial
  8. Under Access permissions choose mkc-tutorial-role.

  9. Choose Next. On the Security page, choose Next again.

  10. On the Logs page choose Next.

  11. Under Review and create choose Create connector.

Next Step

Step 5: Send data