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

demandé il y a 3 ans563 vues
4 réponses
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?

répondu il y a 2 ans
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.

répondu il y a 2 ans
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)

répondu il y a 2 ans
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?

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions