Skip to content

Commit 7891bdf

Browse files
committed
feat: add TopicWriter class for message writing with buffering and flushing capabilities
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 0871d8a commit 7891bdf

File tree

2 files changed

+646
-0
lines changed

2 files changed

+646
-0
lines changed

packages/topic/src/message.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export interface TopicMessage<Payload = Uint8Array> {
66
seqNo: bigint;
77
offset?: bigint;
88
payload: Payload;
9+
uncompressedSize?: bigint;
910

1011
createdAt?: Date;
1112
writtenAt?: Date;

0 commit comments

Comments
 (0)