public static class StartPartitionSessionSettings.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StartPartitionSessionSettings |
build() |
StartPartitionSessionSettings.Builder |
setCommitOffset(Long commitOffset)
Make server know that all messages with offsets less than commitOffset were fully processed by client.
|
StartPartitionSessionSettings.Builder |
setReadOffset(Long readOffset)
Reads in this partition session will start from offset no less than readOffset.
|
public StartPartitionSessionSettings.Builder setReadOffset(Long readOffset)
readOffset - Offset to read from. Default: nullpublic StartPartitionSessionSettings.Builder setCommitOffset(Long commitOffset)
commitOffset - Commit offset, following the offset of last processed (committed) message. Default: nullpublic StartPartitionSessionSettings build()
Copyright © 2025. All rights reserved.