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

preguntada hace 3 años563 visualizaciones
4 Respuestas
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 hace 2 años
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 hace 2 años
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 hace 2 años
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 hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas