Redis

<dependency>
	<groupId>one.microstream</groupId>
	<artifactId>microstream-afs-redis</artifactId>
	<version>08.01.02-MS-GA</version>
</dependency>
String redisUri = "redis://localhost:6379/0";
BlobStoreFileSystem fileSystem = BlobStoreFileSystem.New(
	RedisConnector.Caching(redisUri)
);
EmbeddedStorage.start(fileSystem.ensureDirectoryPath("microstream_storage"));

Configuration

When using external configuration Redis can be set as follows.

microstream-storage.properties
storage-filesystem.redis.uri=redis://localhost:6379/0
Property Description

redis.uri

The RedisURI contains the host/port and can carry authentication/database details. On a successful connect you get authenticated, and the database is selected afterward. This applies also after re-establishing a connection after a connection loss.

Depending on the amount of data and transactions, charges may apply depending on service usage. Please check with your service provider for details.