Commit f6784a9
authored
This is to avoid being unable to cancel code that is inside blocking
section. At the moment it is possible for user-code to not cancel
immediately, in which case it will block until an internal Kafka
max-block period is reached (by default 1 minute).
Changing to use `interruptible` means the user-code returns immediately
on cancellation, and the underlying operation in Kafka should be
cancelled.
1 parent 4e47aaf commit f6784a9
File tree
1 file changed
+1
-1
lines changed- modules/core/src/main/scala/fs2/kafka/internal
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments