Creating Amazon MSK Connector with Customized Plugin Tutorial Fails with "UnknownError.unknown"

0

I am following the "Amazon Managed Streaming for Apache Kafka -> MSK Connect -> Getting started" guide to create an MSK connector. But the creation step fails with

"Connector mkc-tutorial-connector transitioned to a Failed state Connector mkc-tutorial-connector transitioned to a Failed state. Check your connector configuration and try again."

X There is an issue with the connector. Code: UnknownError.Unknown Message: The last operation failed. Retry the operation.

BTW, this is the Connector configuration:

connector.class=io.lenses.streamreactor.connect.aws.s3.sink.S3SinkConnector
key.converter.schemas.enable=false
connect.s3.kcql=INSERT INTO pmatsinopoulos-msk-demo-mkc-tutorial-bucket:tutorial SELECT * FROM mkc-tutorial-topic WITH_FLUSH_COUNT = 1
aws.region=eu-west-1
tasks.max=2
topics=mkc-tutorial-topic
schema.enable=false
value.converter=org.apache.kafka.connect.storage.StringConverter
errors.log.enable=true
key.converter=org.apache.kafka.connect.storage.StringConverter

As copied from the tutorial page and having replaced the bucket name and region with the ones I have created.

profile picture
PanosM
asked a year ago223 views
1 Answer
0

Dear Customer,

We recommend you to enable the connector CloudWatch logs for your connector whenever you creates a connector. Thus, you can check the logs to see the actual issue with your connector and take the action accordingly.

However, if you still faces the issue and not able to solve, I would request you to reach out to us over a support case with your MSK Connector ARN and CloudWatch logs.

Also, we have updated the documentation from our end, please refer to: [+] https://docs.aws.amazon.com/msk/latest/developerguide/msk-connect-getting-started.html

AWS
SUPPORT ENGINEER
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions