-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
(copied to CRM)
-
Needed
-
We want to support a solution to config more than one processor on the chain of post processors.
Consider the following example:
"topic.override.source.document.id.strategy":"com.mongodb.kafka.connect.sink.processor.id.strategy.PartialValueStrategy", "topic.override.source.collection":"sink", "topic.override.source.value.projection.type":"whitelist", "topic.override.source.value.projection.list":"attuid", "topic.override.source.writemodel.strategy": "com.mongodb.kafka.connect.sink.writemodel.strategy.ReplaceOneBusinessKeyStrategy", "topic.override.source.post.processor.chain":"com.mongodb.kafka.connect.sink.processor.WhitelistValueProjector", "topic.override.source.collection":"sink", "topic.override.source.value.projection.type":"whitelist", "topic.override.source.value.projection.list":"attuid, name, pc", "topic.override.source.batch.size":"100","name":"mongo-sink"}
Currently, this fails to update correctly the MongoDB documents. The current design only allows one processor to be configured as it is not possible to configure settings for each of the processors.
This work is to implement a new id strategy that does not reuse configuration parameters.
- is related to
-
KAFKA-112 Add include and exclude lists for field filters
- Closed