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 void
configure(MongoSinkTopicConfig config)
com.mongodb.MongoNamespace
getNamespace(org.apache.kafka.connect.sink.SinkRecord sinkRecord, SinkDocument sinkDocument)
-
-
-
Method Detail
-
configure
public void configure(MongoSinkTopicConfig config)
- Specified by:
configure
in interfaceConfigurable
- Specified by:
configure
in interfaceNamespaceMapper
-
getNamespace
public com.mongodb.MongoNamespace getNamespace(org.apache.kafka.connect.sink.SinkRecord sinkRecord, SinkDocument sinkDocument)
- Specified by:
getNamespace
in interfaceNamespaceMapper
-
-