KAFKA.PUBLISH
Publishes either a message or an arbitrary value using a specified Producer and topic. To reference a message from the outbox use the outbox function and to reference a message from the inbox use INBOX. You can use the Function Wizard for this function.
Syntax
=KAFKA.PUBLISH(Producer, Message, Topic)
Arguments
Name | Description |
---|---|
Producer | Producer to use for publishing. |
Message | Either an existing message from the outbox a JSON or a primitive value to publish. |
Topic | Topic the message is published to. |
Return
TRUE, if no error.
Examples
Formula | Result | Comment |
---|---|---|
| TRUE | This publishes the string value "Message" using the "Kafka Producer" to the topic "test" |