Migrate existing plugins to use POJO configuration classes. #5246
Labels
maintenance
Issues to help maintain the project, such as improving builds, testing, etc.
Milestone
All plugins should configure the
pluginConfigurationType
attribute in@DataPrepperPlugin
with a custom POJO configuration class. Some older plugins still usePluginSettings
. These should be updated to use a POJO configuration class.For example, the
s3
source does this correctly.data-prepper/data-prepper-plugins/s3-source/src/main/java/org/opensearch/dataprepper/plugins/source/s3/S3Source.java
Line 36 in f6a06a0
The
opensearch
sink is doing this usingPluginSettings
which we do not want.data-prepper/data-prepper-plugins/opensearch/src/main/java/org/opensearch/dataprepper/plugins/sink/opensearch/OpenSearchSink.java
Line 89 in 1ddebf6
PluginSettings
.The text was updated successfully, but these errors were encountered: