Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error code 9 while fetching data #231

Open
hiashishkm opened this issue Jan 20, 2023 · 0 comments
Open

Unexpected error code 9 while fetching data #231

hiashishkm opened this issue Jan 20, 2023 · 0 comments

Comments

@hiashishkm
Copy link

Hi team,

MySpring-boot application uses spring integration based Kafka client to connect to Azure event hub for retrieving or publishing messages. This application was running fine since 450 days as a containerized application shipping logs to Azure app insights and there were no issues reported.

Spring boot version - 1.5.8.RELEASE
Spring integration kafka dependency -
org.springframework.integration
spring-integration-kafka
2.3.0.RELEASE

We started seeing a huge spike in the logs with the following error -
java.lang.IllegalStateException: Unexpected error code 9 while fetching data
at org.apache.kafka.clients.consumer.internals.Fetcher.parseCompletedFetch(Fetcher.java:886)
at org.apache.kafka.clients.consumer.internals.Fetcher.fetchedRecords(Fetcher.java:525)
at org.apache.kafka.clients.consumer.KafkaConsumer.pollOnce(KafkaConsumer.java:1086)
at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1043)
at org.springframework.kafka.listener.KafkaMessageListenerContainer$ListenerConsumer.run(KafkaMessageListenerContainer.java:614)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)

Previously saw similar errors related to error code 13 posted on this forum hence posting this issue as well to get a resolution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant