Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Spring Boot application.yml Configuration for MicroStream Not Working As Expected #502

@Haribou

Description

@Haribou

Discussed in #501

Originally posted by Haribou January 3, 2023
I am building a Spring Boot 2.7.2 application that contains a MicroStream embedded storage engine. The pom.xml of my application contains this dependency:

<dependency>
   <groupId>one.microstream</groupId>
   <artifactId>microstream-integrations-spring-boot</artifactId>
   <version>07.01.00-MS-GA</version>
</dependency>

My application.yml Spring Boot configuration contains the following lines:

one.microstream:
   storage-directory: ./stateData
   backup-directory: ./stateDataBackup
   channel-count: 4
   housekeeping-interval: 10000
   entity-cache-timeout: 86400000

MicroStream works as expected within my Spring Boot application except that it completely ignores the MicroStream application.yml configuration. It resorts to its default configuration and, for example, uses the storage directory instead of the stateData directory that I configured in application.yml. I don't understand why my MicroStream configuration is being ignored. Any ideas?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions