在获取数据Spring-Cloud-Stream Kafka Azure事件中心时出现意外错误代码13- [英] Unexpected error code 13 while fetching data Spring-Cloud-Stream Kafka Azure event hub -
问题描述
自12月18日以来,此问题突然弹出,一切正常,找不到任何线索,这个异常情况在经过6个月的正常工作后突然不断出现.
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.
我无法在本地独立环境中进行复制,但是它出现在具有微服务的docker映像中,其中之一与 Azure even hub 进行通信.
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.
推荐答案
最近发生了更改,将UnknownServerException的实例更改为NetworkException-这是无意中更改的消费者客户端重试行为.在此处提交问题- https://github.com/Azure/azure -event-hubs-for-kafka/issues -带有您的命名空间信息.谢谢!
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!
这篇关于在获取数据Spring-Cloud-Stream Kafka Azure事件中心时出现意外错误代码13-的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!