since v1.1.0 — use OutboxPublisher.publish(String, Function, int, UUID)
instead. The byte[] overload generates the outbox row's eventId
internally, leaving the caller no opportunity to embed the same id in
the payload — operators cannot correlate Kafka messages back to outbox
rows by event_id (Memora #3555). The new overload accepts a
deferred-serialisation Function<UUID, byte[]> that receives the
outbox-issued eventId, keeping the payload's embedded event_id in
lockstep with the row's. Retained (forRemoval=false) for callers
serialising opaque already-encoded bytes where the payload schema has NO
event_id field.
OutboxPublisher.publish(String, Function, int, UUID)instead. The byte[] overload generates the outbox row's eventId internally, leaving the caller no opportunity to embed the same id in the payload — operators cannot correlate Kafka messages back to outbox rows by event_id (Memora #3555). The new overload accepts a deferred-serialisationFunction<UUID, byte[]>that receives the outbox-issued eventId, keeping the payload's embedded event_id in lockstep with the row's. Retained (forRemoval=false) for callers serialising opaque already-encoded bytes where the payload schema has NO event_id field.