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

do not hide error stack-trace while retrying #159

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

dfakhritdinov
Copy link
Contributor

No description provided.

@dfakhritdinov
Copy link
Contributor Author

dfakhritdinov commented Dec 16, 2022

Example of current logs:

13:13:11.659 [io-compute-blocker-8] WARN  a.b.c.XXX -- failed, retrying in 10 seconds, error: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer

while the cause of the retries was hidden in stack-trace:

13:13:11.650 [io-compute-blocker-8] ERROR c.e.a.s.wallet.service.Currencies -- consumer failed
org.apache.kafka.common.KafkaException: Failed to construct kafka consumer
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:823)
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:665)
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:646)
        ...
	at ref @ fs2.Compiler$Target$ConcurrentTarget.ref(Compiler.scala:195)
	at apply @ fs2.Stream.parEvalMapAction(Stream.scala:2122)
	at ref @ fs2.Compiler$Target$ConcurrentTarget.ref(Compiler.scala:195)
	at apply @ fs2.Stream.parEvalMapAction(Stream.scala:2122)
	at ref @ fs2.Compiler$Target$ConcurrentTarget.ref(Compiler.scala:195)
        ...
Caused by: org.apache.kafka.common.errors.InvalidConfigurationException: enable.auto.commit cannot be set to true when default group id (null) is used.

@dfakhritdinov dfakhritdinov merged commit ee064ec into master Dec 20, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants