Unexpected error code 13 while fetching data Sprin

2019-08-30 03:55发布

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条回答
Anthone
2楼-- · 2019-08-30 04:42

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!

查看更多
登录 后发表回答