Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JetStreamOTKVName ¶ added in v0.10.0
func JetStreamProcessorKVName ¶ added in v0.10.0
Types ¶
type WatermarkStore ¶ added in v0.10.0
type WatermarkStore interface { io.Closer HeartbeatStore() kvs.KVStorer OffsetTimelineStore() kvs.KVStorer }
WatermarkStore defines a pair of heartbeat KV store and offset timeline KV store
func BuildInmemWatermarkStore ¶ added in v0.10.0
func BuildInmemWatermarkStore(ctx context.Context, bucket string) (WatermarkStore, error)
BuildInmemWatermarkStore returns an in-mem WatermarkStore instance, and the HB, OT entry channels
func BuildJetStreamWatermarkStore ¶ added in v0.10.0
func BuildJetStreamWatermarkStore(ctx context.Context, bucket string, client *jsclient.Client) (WatermarkStore, error)
BuildJetStreamWatermarkStore returns a JetStream WatermarkStore instance
func BuildNoOpWatermarkStore ¶ added in v0.10.0
func BuildNoOpWatermarkStore() (WatermarkStore, error)
BuildNoOpWatermarkStore returns a NoOp WatermarkStore instance
Click to show internal directories.
Click to hide internal directories.