Kafka
<dependency>
<groupId>one.microstream</groupId>
<artifactId>microstream-afs-kafka</artifactId>
<version>08.01.02-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"));
Configuration
When using external configuration Kafka can be set as follows.
microstream-storage.properties
storage-filesystem.kafka-properties.bootstrap.servers=localhost:9093
Supported properties
All supported properties of Kafka, see https://kafka.apache.org/documentation/
Depending on the amount of data and transactions, charges may apply depending on service usage. Please check with your service provider for details. |