public interface Consumer extends AutoCloseable
Instances are configured and created with a ConsumerBuilder.
ConsumerBuilder,
Environment.consumerBuilder()| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the consumer.
|
void |
store(long offset)
Store the offset.
|
long |
storedOffset()
The stored offset for this named consumer on the configured stream.
|
void store(long offset)
offset - void close()
close in interface AutoCloseablelong storedOffset()
NoOffsetException - if no offset is stored for this name on the streamCopyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.