Class MemoryRecordsHelper

java.lang.Object
io.kroxylicious.proxy.internal.util.MemoryRecordsHelper

public class MemoryRecordsHelper extends Object
This introduces additional factory builder methods for MemoryRecords that accepts ByteBufOutputStream
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.kafka.common.record.MemoryRecordsBuilder
    builder(org.apache.kafka.common.utils.ByteBufferOutputStream stream, org.apache.kafka.common.compress.Compression compression, org.apache.kafka.common.record.TimestampType timestampType, long baseOffset)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • builder

      public static org.apache.kafka.common.record.MemoryRecordsBuilder builder(org.apache.kafka.common.utils.ByteBufferOutputStream stream, org.apache.kafka.common.compress.Compression compression, org.apache.kafka.common.record.TimestampType timestampType, long baseOffset)