import { ConsumerGroup } from "https://deno.land/x/kafkasaur@v0.0.7/src/consumer/consumerGroup.ts";
Constructors
new
ConsumerGroup(unnamed 0: ConsumerGroupOptions)Index Signatures
index: string]: any
[Properties
assigners: Assigner[]
cluster: Cluster
coordinator: Broker | null
logger: Logger
members: GroupMember[] | null
offsetManager: OffsetManager | null
seekOffset: SeekOffsets
subscriptionState: SubscriptionState | null
Methods
assigned()
commitOffsets(offsets: any)
connect()
fetch()
findReadReplicaForPartitions(topic: any, partitions: any)
For each of the partitions find the best nodeId to read it from
hasSeekOffset(unnamed 0: any)
heartbeat(unnamed 0: any)
isLeader()
leave()
pause(topicPartitions: any)
paused()
recoverFromFetch(e: any)
recoverFromOffsetOutOfRange(e: any)
resetOffset(unnamed 0: any)
resolveOffset(unnamed 0: any)
resume(topicPartitions: any)
seek(unnamed 0: any)
Update the consumer offset for the given topic/partition. This will be used on the next fetch. If this API is invoked for the same topic/partition more than once, the latest offset will be used on the next fetch.