Package one.microstream.afs.kafka
Interface KafkaConnector
- All Superinterfaces:
AutoCloseable,BlobStoreConnector
- All Known Implementing Classes:
KafkaConnector.Default
public interface KafkaConnector extends BlobStoreConnector
Connector for Apache Kafka.
First setup the connection properties.
Properties properties = ... BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New( KafkaConnector.New(properties) );
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classKafkaConnector.DefaultNested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B> -
Method Summary
Static Methods Modifier and Type Method Description static KafkaConnectorCaching(Properties kafkaProperties)Pseudo-constructor method which creates a newKafkaConnectorwith cache.static KafkaConnectorNew(Properties kafkaProperties)Pseudo-constructor method which creates a newKafkaConnector.Methods inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
close, copyFile, createDirectory, createFile, deleteFile, directoryExists, fileExists, fileSize, moveFile, readData, readData, truncateFile, visitChildren, writeData
-
Method Details
-
New
Pseudo-constructor method which creates a newKafkaConnector.- Parameters:
kafkaProperties- the Kafka configuration- Returns:
- a new
KafkaConnector
-
Caching
Pseudo-constructor method which creates a newKafkaConnectorwith cache.- Parameters:
kafkaProperties- the Kafka configuration- Returns:
- a new
KafkaConnector
-