[ 
https://issues.apache.org/jira/browse/KAFKA-1837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17816444#comment-17816444
 ] 

Andrew Schofield commented on KAFKA-1837:
-----------------------------------------

Initial testing seems to show that the current Kafka 3.7 client does complete 
the futures exceptionally if the producer is closed.

> Metadata record future never returns on get call after producer is stopped 
> and messages can't be sent
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1837
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1837
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.8.2.0
>            Reporter: Paul Pearcy
>            Priority: Minor
>
> When producer stop is called and messages are unable to be sent nothing is 
> ever returned for the futures and the get will block forever. 
> Instead when a producer is stopped and messages are abandoned, the futures 
> should return an exception indicating the failure. 
> I have a test case to reproduce this that I should be able to attach after 
> some rework to move to kafka's producer integration suite. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to