Skip to content

ConsumerProtocol

faststream.kafka.message.ConsumerProtocol #

Bases: Protocol

A protocol for Kafka consumers.

commit async #

commit()
Source code in faststream/kafka/message.py
async def commit(self) -> None: ...

seek #

seek(partition, offset)
Source code in faststream/kafka/message.py
def seek(
    self,
    partition: AIOKafkaTopicPartition,
    offset: int,
) -> None:
    pass