Details
-
Task
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
Context:
CDAP plugins use their configuration classes (ex. SalesforceSinkConfig) to set the required parameters to prepare and run a pipeline in Source or Sink classes (ex. SalesforceBatchSink). The config instance is accepted as a Source/Sink constructor argument.
The configuration classes are usually placed in the cdap/plugin/{<plugin name>}/plugin/{sink|source}/{batch|streaming} folder (ex. Salesforce repo).
Task Description:
Required to design wrapper class(es) for the CDAP plugin config class so that the CDAP plugin config instance can be created in the Apache Beam connector based on user input and used when creating CDAP Source or Sink.
Acceptance criteria:
Design and source code of CDAP Config wrapper that will
- accept custom parameters as constructor arguments (JSON/string or something else)
- return an instance of plugins configuration class (ex. SalesforceSinkConfig)