Multilog Module

  • Utilizes FS module to work with logs stored on different partitions.
  • Log data is transferred using Datastream module which is perfect for large amount of lightweight items (just like logs).
  • Uses LZ4 compression algorithm which is fast and allows to save storage space.

You can add the Multilog module to your project by inserting a dependency in pom.xml:

<dependency>
    <groupId>io.datakernel</groupId>
    <artifactId>datakernel-multilog</artifactId>
    <version>3.1.0</version>
</dependency>

Multilog interface manages persistence of logs; MultilogImpl is an implementation of the interface. It has the following core operations:

  • create()
  • write()
  • read()

This module on GitHub repository