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

Gracefully handle Kafka connection issues #12

Open
jonas opened this issue Apr 20, 2017 · 0 comments
Open

Gracefully handle Kafka connection issues #12

jonas opened this issue Apr 20, 2017 · 0 comments
Labels

Comments

@jonas
Copy link
Contributor

jonas commented Apr 20, 2017

Failure to resolve a Kafka broker will crash a job

Caused by: org.apache.kafka.common.config.ConfigException: DNS resolution failed for url in bootstrap.servers: broker-1.kafka.mesos:6000
	at org.apache.kafka.common.utils.ClientUtils.parseAndValidateAddresses(ClientUtils.java:38)
	at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:189)
	at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaProducer.java:129)
	at com.mediative.amadou.monitoring.KafkaMessagingSystem.<init>(KafkaMessagingSystem.scala:26)
	at com.mediative.amadou.monitoring.MessagingSystem$.create(MessagingSystem.scala:33)
	at com.mediative.amadou.SparkRunner.<init>(SparkRunner.scala:140)
	at com.mediative.mpn.brain.dataflow.jobs.national.National$.<init>(National.scala:14)
	at com.mediative.mpn.brain.dataflow.jobs.national.National$.<clinit>(National.scala)
	... 1 more
@jonas jonas added the bug label Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant