You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tim Fox (Jira)" <ji...@apache.org> on 2021/02/15 13:53:01 UTC
[jira] [Commented] (KAFKA-3702) SslTransportLayer.close() does not
shutdown gracefully
[ https://issues.apache.org/jira/browse/KAFKA-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284740#comment-17284740 ]
Tim Fox commented on KAFKA-3702:
--------------------------------
Just looking at the code and it seems SSLEngine.closeOutbound is called _before_ the connection is flushed. Is this deliberate?
According to the javadoc for closeOutBound:
"Signals that no more outbound application data will be sent on thisĀ {{SSLEngine}}."
https://docs.oracle.com/javase/7/docs/api/javax/net/ssl/SSLEngine.html#closeOutbound()
> SslTransportLayer.close() does not shutdown gracefully
> ------------------------------------------------------
>
> Key: KAFKA-3702
> URL: https://issues.apache.org/jira/browse/KAFKA-3702
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.10.0.0
> Reporter: Rajini Sivaram
> Assignee: Rajini Sivaram
> Priority: Major
>
> The warning "Failed to send SSL Close message" occurs very frequently when SSL connections are closed. Close should write outbound data and shutdown gracefully.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)