[
https://issues.apache.org/jira/browse/KAFKA-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705068#comment-14705068
]
nicu marasoiu commented on KAFKA-1282:
--------------------------------------
Hi,
I noticed that the dependencies are done and I will resume this task.
The task contributions had been:
- a fix
- unit test(s)
As far as the fix is concerned, I noticed that it is already fixed in the
current Selector, namely the lruConnections is a LinkedHashMap with
accessOrder=true. This was the only fix needed, and I am 100% convinced that
the fix is already done.
I already have a unit test too, I will try to put a patch here this week.
Just wanted to mention that the old connections should be closed by the kafka
installations using the new reusable network code.
Thanks
Nicu
> Disconnect idle socket connection in Selector
> ---------------------------------------------
>
> Key: KAFKA-1282
> URL: https://issues.apache.org/jira/browse/KAFKA-1282
> Project: Kafka
> Issue Type: Bug
> Components: producer
> Affects Versions: 0.8.2.0
> Reporter: Jun Rao
> Assignee: nicu marasoiu
> Labels: newbie++
> Attachments: 1282_access-order_+_test_(same_class).patch,
> KAFKA-1282_Disconnect_idle_socket_connection_in_Selector.patch,
> access-order_+_test.patch,
> access_order_+_test_waiting_from_350ms_to_1100ms.patch
>
>
> To reduce # socket connections, it would be useful for the new producer to
> close socket connections that are idle. We can introduce a new producer
> config for the idle time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)