Unexpected error code 13 while fetching data Spring-Cloud-Stream Kafka Azure event hub -

雨燕双飞 提交于 2019-12-13 04:27:37

问题


It was working fine suddenly this issue popup since 18th Dec, could not find any clue, what suddenly this exception is coming continuously after 6 month working fine.

I am not able to reproduce in local standalone and but it comes in The docker images with micro-services and one of these communicate with Azure even hub.

I have search and found this post. In this post also reported same issue what i am facing but could not find any resolution or clue so I am posting this question.

Please refer below stacktrace:

 Error while processing: null 
java.lang.IllegalStateException: Unexpected error code 13 while fetching data 
 at org.apache.kafka.clients.consumer.internals.Fetcher.parseCompletedFetch(Fetcher.java:891) 
 at org.apache.kafka.clients.consumer.internals.Fetcher.fetchedRecords(Fetcher.java:528) 
 at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:1154) 
 at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1111) 
 at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:699) 
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 

If any one any clue please suggest.


回答1:


There was a recent change where an instance of UnknownServerException was changed to a NetworkException - this unintentionally changed consumer client retry behavior. File an issue here - https://github.com/Azure/azure-event-hubs-for-kafka/issues - with your namespace info. Thanks!



来源:https://stackoverflow.com/questions/53909267/unexpected-error-code-13-while-fetching-data-spring-cloud-stream-kafka-azure-eve

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!