[KAFKA-357] post.processor.chain custom postprocessor class invalid value in mongodb-sink connector Created: 23/Feb/23  Updated: 27/Oct/23  Resolved: 24/Feb/23

Status: Closed
Project: Kafka Connector
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Shriranga Kulkarni Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Getting error while trying to load custom post processor chain class in mongodb-kafka sink connector.

post.processor.chain=allianz.itmp.kafka.mongodb.sink.postprocessor.xml.XMLParserPostProcessor
xmlParserPostProcessor.attributeMappings=xml_request,parsedXmlRequest,xml_response,parsedXmlResponse
field.renamer.mapping=
key.projection.list=
key.projection.type=none
value.projection.list=
value.projection.type=none
document.id.strategy=com.mongodb.kafka.connect.sink.processor.id.strategy.ProvidedInValueStrategy
document.id.strategy.overwrite.existing=false

 

 

java.util.concurrent.ExecutionException: org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid and contains the following 1 error(s):
Invalid value [allianz.itmp.kafka.mongodb.sink.postprocessor.xml.XMLParserPostProcessor] for configuration post.processor.chain
You can also find the above list of errors at the endpoint `/connector-plugins/{connectorType}/config/validate`
    at org.apache.kafka.connect.util.ConvertingFutureCallback.result(ConvertingFutureCallback.java:115)
    at org.apache.kafka.connect.util.ConvertingFutureCallback.get(ConvertingFutureCallback.java:99)
    at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:118)
Caused by: org.apache.kafka.connect.runtime.rest.errors.BadRequestException: Connector configuration is invalid and contains the following 1 error(s):
Invalid value [allianz.itmp.kafka.mongodb.sink.postprocessor.xml.XMLParserPostProcessor] for configuration post.processor.chain
You can also find the above list of errors at the endpoint `/connector-plugins/{connectorType}/config/validate`



 Comments   
Comment by Shriranga Kulkarni [ 23/Feb/23 ]

Please ignore this issue. Not a defect. Thanks.

Generated at Thu Feb 08 09:06:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.