test(kafka-python): cover producer span error recording in send() (#4935)
The behavioral fix originally proposed here landed on main via #4858, which moved the wrapped send() call inside the producer span context. Keep the regression tests so that errors raised by KafkaProducer.send() are guaranteed to be recorded on the producer span. Assisted-by: Claude Fable 5 Co-authored-by: Emídio <9735060+emdneto@users.noreply.github.com>
Y
Yiğit ERDOĞAN committed
7b794faf874169d78ad56ba0f4da8365aee75b5c
Parent: d457397
Committed by GitHub <noreply@github.com>
on 8/18/2026, 9:55:15 AM