Class FieldPathNamespaceMapper
- java.lang.Object
-
- com.mongodb.kafka.connect.sink.namespace.mapping.FieldPathNamespaceMapper
-
- All Implemented Interfaces:
Configurable,NamespaceMapper
public class FieldPathNamespaceMapper extends java.lang.Object implements NamespaceMapper
-
-
Constructor Summary
Constructors Constructor Description FieldPathNamespaceMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(MongoSinkTopicConfig config)com.mongodb.MongoNamespacegetNamespace(org.apache.kafka.connect.sink.SinkRecord sinkRecord, SinkDocument sinkDocument)
-
-
-
Method Detail
-
configure
public void configure(MongoSinkTopicConfig config)
- Specified by:
configurein interfaceConfigurable- Specified by:
configurein interfaceNamespaceMapper
-
getNamespace
public com.mongodb.MongoNamespace getNamespace(org.apache.kafka.connect.sink.SinkRecord sinkRecord, SinkDocument sinkDocument)- Specified by:
getNamespacein interfaceNamespaceMapper
-
-