Max plugins per MSK connector = 1, but plugins is an array?

0

Hi there,
I'm attempting to deploy an MSK Connector through the AWS CLI. This connector needs to refer to 2 plugins, 1 which is the Elasticsearch sink connector and another which is the Avro converter as the data in the topic is Avro-encoded (and the Elasticsearch zip archive doesn't include the Confluent Avro converter)

I have registered the 2x zip packages in MSK Connect Plugins fine, but when I come to create the connector & refer to both plugins, I get the following error:

An error occurred (BadRequestException) when calling the CreateConnector operation: Invalid parameter plugins: The number of plugins per connector must be 1.

Which is misleading as the "plugins" section of the CLI create-connector command, refers to an array of plugins for a connector:
https://docs.aws.amazon.com/cli/latest/reference/kafkaconnect/create-connector.html (see --plugins)

Am I missing something, should we be able to pass multiple plugins in when creating an MSK connector?
Thanks

已提问 3 年前563 查看次数
4 回答
0

This is not an answer to your question but just a note. You can only select 1 plugin in the console (GUI) when creating a connector so even though the API allows an array, perhaps, it's a limitation right now that only 1 plugin can be used.

I have not found a way of deleting a custom plugin. Have you?

已回答 2 年前
0

At present, only one custom plugin is allowed for each connector, as you see via the console.

The API does provide an array of plugins, which exists to allow for possible future changes, but can only contain one element today.

已回答 2 年前
0

Thanks.

Yeah same here - I've not found a way of deleting a custom plugin, either through the Console or the CLI.

Do we know if this functionality is coming soon? (@aws)

已回答 2 年前
0

Ok thanks for the update. It might be worth a small update to the docs to mention the limit of 1 that is currently in place?

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则