实时计算Flink读取消息队列Kafka,flink日志中出现Error sending fetch request (sessionId=1510763375, epoch=12890978) to node 103: {}.org.apache.flink.kafka.shaded.org.apache.kafka.common.errors.DisconnectException: null
同问。kafka_2.11 version1.1.0,在consumer的时候总遇到这个错误Error sending fetch request (sessionId=INVALID, epoch=INITIAL) to node 1: org.apache.kafka.common.errors.DisconnectException.。一直不知道什么原因 这篇回答已被忽略,原因:无意义的内容:赞、顶、同问等毫无意义的内容,不符合答题规范:内容不是答...
其他情况呢, 我们可以先检查一下是否有一些异常日志出现, 看看具体的异常是什么 Error sending fetch request {} to node {} Failed to connect within $socketTimeout ms" 因为ISR伸缩的时候,在更新HW的时候需要加一个leaderIsrUpdateLock写锁, 这个时候消息的发送、客户端的读取等等都会发生锁竞争,并发度会下降。
fetcherId=0] Error sending fetch request (sessionId=INVALID, epoch=INITIAL) to node 0: java.io.IOException: Connection to 0 was disconnected before the response was read. (org.apache.kafka.clients.FetchSessionHandler)
20 AbstractRequest.Builder<?> requestBuilder; 21 try { 22 requestBuilder = call.createRequest(requestTimeoutMs); 23 } catch (Throwable throwable) { 24 call.fail(now, new KafkaException(String.format( 25 "Internal error sending %s to %s.", call.callName, node))); ...
Error sending fetch request {} to node {}Failed to connect within $socketTimeout ms" 因为ISR伸缩的时候,在更新HW的时候需要加一个leaderIsrUpdateLock写锁, 这个时候消息的发送、客户端的读取等等都会发生锁竞争,并发度会下降。 解决问题的方案 我们可以尝试的调大replica.lag.time.max.ms,2.5之前默认值是10...
NodeApiVersions versionInfo = nodeApiVersions.get(nodeId); // Note: if versionInfo is null, we have no server version information. This would be // the case when sending the initial ApiVersionRequest which fetches the version // information itself. It is also the case when discoverBrokerVer...
>requestBuilder;21try{22requestBuilder =call.createRequest(requestTimeoutMs);23}catch(Throwable throwable) {24call.fail(now,newKafkaException(String.format(25"Internal error sending %s to %s.", call.callName, node)));26continue;27}28ClientRequest clientRequest =client.newClientRequest(node.id...
ShutdownableThread.run(ShutdownableThread.scala:82) [2019-08-02 15:27:26,433] INFO [ReplicaFetcher replicaId=0, leaderId=1, fetcherId=0] Error sending fetch request (sessionId=1112819217, epoch=INITIAL) to node 1: java.io.IOException: Connection to 1 was disconnected before the response ...
/* the maximum requestsizetoattempttosendtothe server *///对应的配置是max.request.size,代表调用send()方法发送的最大请求大小private finalintmaxRequestSize;/* the numberofacknowledgementstorequestfromthe server *///用于保证消息发送状态,分别有-1,0,1三种选项private final short acks;/* the numberof...