Kafka

This is the manual for older MicroStream versions (Version < 5.0).

The new documentation (Version >= 5.0) is located at:

https://docs.microstream.one/

<dependency>
       <groupId>one.microstream</groupId>
       <artifactId>filesystem.kafka</artifactId>
       <version>04.01.00-MS-GA</version>
</dependency>
Properties properties = new Properties();
properties.setProperty(
     CommonClientConfigs.BOOTSTRAP_SERVERS_CONFIG, 
     "localhost:9093"
);
BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New(
     KafkaConnector.Caching(properties)
);
EmbeddedStorage.start(fileSystem.ensureDirectoryPath("microstream_storage"));

Last updated