Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1369

[LogRotatorSink] Rename files after rotation

$
0
0

So, files are created first with a “.tmp” extension, and I’d like to change that extension to “.log” (and ideally also moving the files to a different location) every time the sink rotates.

I’ve been playing around with the sinkFactory (like the compression example), but I fail to see how to build a flow to do that, or even if that’s possible (I’m still wrapping my head around Akka Streams).

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1369

Trending Articles