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

feita há 3 anos563 visualizações
4 Respostas
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?

respondido há 2 anos
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.

respondido há 2 anos
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)

respondido há 2 anos
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?

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas