All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.pekko.kafka.KafkaConnectionFailed.scala Maven / Gradle / Ivy

Go to download

Apache Pekko Kafka Connector is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Apache Pekko.

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * license agreements; and to You under the Apache License, version 2.0:
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * This file is part of the Apache Pekko project, which was derived from Akka.
 */

/*
 * Copyright (C) 2014 - 2016 Softwaremill 
 * Copyright (C) 2016 - 2020 Lightbend Inc. 
 */

package org.apache.pekko.kafka

import org.apache.kafka.common.errors.TimeoutException

final case class KafkaConnectionFailed(te: TimeoutException, attempts: Int)
    extends Exception(s"Can't establish connection with kafkaBroker after $attempts attempts", te)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy