Coder Social home page Coder Social logo

Zookeeper and Kafka link about docker-it-scala HOT 5 CLOSED

fokot avatar fokot commented on July 24, 2024
Zookeeper and Kafka link

from docker-it-scala.

Comments (5)

bjgbeelen avatar bjgbeelen commented on July 24, 2024 1

I ran into the same issue when I had to switch from the DockerJava executor to the Spotify one (the spotify implementation has better/correct AuthConfig).

I created a pull which enables container linking when using the Spotify docker executor, see #62

from docker-it-scala.

viktortnk avatar viktortnk commented on July 24, 2024

Which docker executor you are using? If Spotify one, then it doesn't support container links I think

from docker-it-scala.

fokot avatar fokot commented on July 24, 2024

Ah, this might be a reason, I use Spotify one

from docker-it-scala.

bjgbeelen avatar bjgbeelen commented on July 24, 2024

Btw, in my experience using the LogLineContains ready checker for Kafka isn't working properly.
I'm running a custom ready checker that uses a ZooKeeper client to check the brokers have registered:

.withReadyChecker(
        DockerReadyChecker.F { _ 
          zookeeperAddress.map { address 

            val zkUtils = ZkUtils(
              address.getHostName + ":" + address.getPort,
              10.seconds.toMillis.toInt,
              10.seconds.toMillis.toInt,
              false
            )

            val hasBrokers = zkUtils.getChildren("/brokers/ids").nonEmpty
            zkUtils.close()

            hasBrokers
          }
        }
          .looped(nrOfReadyCheckRetries, readyCheckDuration)
      )

from docker-it-scala.

viktortnk avatar viktortnk commented on July 24, 2024

There is a latest working example with container linking introduced here https://github.com/whisklabs/docker-it-scala/pull/74/files

from docker-it-scala.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.