SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

produce exceeded the duration threshold [SQL0038]

Edit this page
code SQL0038 · log event at warn — degraded but self-healing, or a durable data consequence; an operator should learn of it eventually
the log line · Report this thread
SQL0038 Log event at warn

As it arrives in your log:

level=WARN msg="produce exceeded the duration threshold" code=SQL0038

One produce call ran longer than the producer’s SlowProduceThreshold. The line carries the call’s duration beside the threshold; the call’s outcome is unaffected and slowness is reported whether the call succeeded or not. ProduceFunc and ProduceFuncInTx include the time your own closure ran; both InTx verbs end at the insert, because your commit happens after the call returns.

Nothing pasted yet — the queries above show their blanks.

Looking for a different code? Search every thread.