Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15107

Additional custom metadata for remote log segment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.6.0
    • core

    Description

      Based on the KIP-917: Additional custom metadata for remote log segment, the following needs to be implemented:

      1. RemoteLogSegmentMetadata.CustomMetadata.
      2. RemoteStorageManager.copyLogSegmentData needs to be updated to the new return type (+ javadoc).
      3. RemoteLogSegmentMetadata.customMetadata and RemoteLogSegmentMetadata.createWithCustomMetadata methods. Same in RemoteLogSegmentMetadataSnapshot.
      4. RemoteLogSegmentMetadataRecord and RemoteLogSegmentMetadataSnapshotRecord definitions need to be updated.
      5. Custom metadata should be persisted by RemoteLogManager if provided.
      6. The new config remote.log.metadata.custom.metadata.max.size needs to be introduced.
      7. The custom metadata size limit must be applied according to the KIP.

      Attachments

        Issue Links

          Activity

            People

              ivanyu Ivan Yurchenko
              ivanyu Ivan Yurchenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: