KafkaEvent Class

A concrete implementation of Kafka event message type.

Inheritance
azure.functions._kafka.AbstractKafkaEvent
KafkaEvent

Constructor

KafkaEvent(*, body: bytes, trigger_metadata: typing.Mapping[str, azure.functions.meta.Datum] = None, key: typing.Union[str, NoneType] = None, offset: typing.Union[int, NoneType] = None, partition: typing.Union[int, NoneType] = None, topic: typing.Union[str, NoneType] = None, timestamp: typing.Union[str, NoneType] = None) -> None

Methods

get_body

get_body

get_body() -> bytes