Skip to content

MsgToSend

faststream.confluent.client.MsgToSend #

Bases: BaseModel

A Pydantic model representing a message to be sent to Kafka.

headers instance-attribute #

headers: List[Tuple[str, bytes]]

key instance-attribute #

timestamp instance-attribute #

timestamp: int

value instance-attribute #

value: Optional[Union[str, bytes]]