Skip to content

Migrate existing plugins to use POJO configuration classes. #5246

@dlvenable

Description

@dlvenable

All plugins should configure the pluginConfigurationType attribute in @DataPrepperPlugin with a custom POJO configuration class. Some older plugins still use PluginSettings. These should be updated to use a POJO configuration class.

For example, the s3 source does this correctly.

@DataPrepperPlugin(name = "s3", pluginType = Source.class, pluginConfigurationType = S3SourceConfig.class)

The opensearch sink is doing this using PluginSettings which we do not want.

  • Update the OpenSearch sink to use a POJO configuration class.
  • Look for any other plugins that use the PluginSettings.

Metadata

Metadata

Assignees

Labels

maintenanceIssues to help maintain the project, such as improving builds, testing, etc.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions