-
Notifications
You must be signed in to change notification settings - Fork 1.6k
spring-kafka @KafkaListener lead to spring project deadlock Stuck and stopped problems #3835
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
Comments
The machine will report these logs every once in a while |
The rebalancing of the consumer group has nothing to do with the producer. It is not clear from your logs why rebalancing happens, but in most cases that is because a consumer does not return control back to the Might be even the case that there is nothing to do with Spring, so you would raise the issue exactly here, but not in Apache Kafka itself. I even would suggest to go to StackOverflow with more info about your project. That way it might be easier to identify the cause. |
this is my spring-kafka dependency
org.springframework.kafka
spring-kafka
3.3.1
org.apache.kafka
kafka-clients
this is my spring config
spring.kafka.consumer.group-id=Consumer
spring.kafka.consumer.type=skuTagAutoUpdate
spring.kafka.consumer.enable-auto-commit=false
spring.kafka.consumer.auto-offset-reset=earliest
spring.kafka.listener.ack-mode=manual
spring.kafka.properties.security.protocol=SASL_PLAINTEXT
spring.kafka.properties.sasl.mechanism=PLAIN
When publishing services in batches There are many Kafka rebalancing logs, like the following
The text was updated successfully, but these errors were encountered: