Class MemoryRecordsHelper
java.lang.Object
io.kroxylicious.proxy.internal.util.MemoryRecordsHelper
This introduces additional factory builder methods for
MemoryRecords that
accepts ByteBufOutputStream-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.common.record.MemoryRecordsBuilderbuilder(org.apache.kafka.common.utils.ByteBufferOutputStream stream, org.apache.kafka.common.compress.Compression compression, org.apache.kafka.common.record.TimestampType timestampType, long baseOffset)
-
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)
-