Function
send
Produce one record and resolve with its delivery report.
The provider must check topic against this binding's topic grant
before enqueueing the record.
Typical errors
msg-timed-out: not acknowledged withinmessage.timeout.ms.queue-full: the binding's bounded local queue is full.unknown-topic-or-part: the topic is absent and auto-create is off.not-leader-for-partition: leadership moved; retry after refresh.
send: async func(topic: string, record: produce-record) -> result<produce-ack, error>;