Kafka

<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