Skip to content

Need a way to configure fileBackupPrefix of Buffer.Config #443

@lawrenceloo

Description

@lawrenceloo

Hi there, I am now using Fluency in multiple applications that runs in a same server, that is, we have multiple fluency instances run in same server . In order to ease the file resources maintenance of the system, we configure the fileBackupDir to a same system folder.

For example, we have fluency instance A and B run in server 1 and fileBackupDir is C:\backup. During the testing, if we shutdown both instance A and B, both backup file will be saved in C:\backup for both instance A and B. If we start fluency instance A only afterward, we find out that fluency A will read all backup files including instance's B file and flush. However we only want to flush instance A's backup if we start instance A only.

Is it possible to add a parameter fileBackupPrefix inside FluencyBuilder and pass in this property to Buffer.Config? So that we can have different backup file names for different fluency instances. Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions