Class RemoteLogSegmentMetadata.CustomMetadata

java.lang.Object
org.apache.kafka.server.log.remote.storage.RemoteLogSegmentMetadata.CustomMetadata
Enclosing class:
RemoteLogSegmentMetadata

public static class RemoteLogSegmentMetadata.CustomMetadata extends Object
Custom metadata from a RemoteStorageManager plugin.

The content of these metadata is RSM-dependent and is opaque to the broker, i.e. it's not interpreted, only stored along with the rest of the remote log segment metadata.

Examples of such metadata are:

  1. The storage path on the remote storage in case it's nondeterministic or version-dependent.
  2. The actual size of the all files related to the segment on the remote storage.

The maximum size the broker accepts and stores is controlled by the remote.log.metadata.custom.metadata.max.bytes setting.

  • Constructor Details

    • CustomMetadata

      public CustomMetadata(byte[] value)
  • Method Details