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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠