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 class
KafkaConnector.Default
Nested classes/interfaces inherited from interface one.microstream.afs.blobstore.BlobStoreConnector
BlobStoreConnector.Abstract<B>
-
Method Summary
Static Methods Modifier and Type Method Description static KafkaConnector
Caching(Properties kafkaProperties)
Pseudo-constructor method which creates a newKafkaConnector
with cache.static KafkaConnector
New(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 newKafkaConnector
with cache.- Parameters:
kafkaProperties
- the Kafka configuration- Returns:
- a new
KafkaConnector
-