OptionalpartitionOptional partition key for horizontal scaling. Messages with the same partition key are processed by the same consumer.
OptionaltxOptional transaction to include the message in. When provided, the message is only committed if the transaction succeeds.
Options for publishing messages to the outbox.
Example