kafka4s icon indicating copy to clipboard operation
kafka4s copied to clipboard

KAYAK-1398 Use interruptible for send

Open amohrland opened this issue 3 years ago • 2 comments

KAYAK-1398 This is a first pass for low-hanging blocking fruit.

amohrland avatar Oct 12 '21 14:10 amohrland

I've updated this to instead use interruptible(many = false), since Producer#send respects thread interruption:

InterruptException - If the thread is interrupted while blocked

amohrland avatar Oct 12 '21 14:10 amohrland

Since this is new and introduces some risk, I'm going to wait till we've determined that ce3 is stable in prod before merging.

amohrland avatar Oct 12 '21 14:10 amohrland

A blast from the past

amohrland avatar Jan 09 '24 23:01 amohrland

Heh I noticed this today too. You were 2.5 years ahead!

zcox avatar Jan 10 '24 00:01 zcox