SpringKafkaApplicationTest Results: Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 - BUILD SUCCESS - Total time: 41. ZooKeeperServer - ZKShutdownHandler is not registered, so ZooKeeper server won ' t take any action on ERROR or SHUTDOWN server state changes Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.871 sec - in com. Via a command, using BROKER_ID_COMMAND, e.g.You can configure the broker id in different ways: Below, you can see which Environment variables are available for this service. automate the setup of a Bitnami application stack on Windows, Mac OS and Linux. To start the Kafka server with the certain per-configuration, you need to use Environment variables. In the docker-compose.yml it can be something like thisĭocker-compose.yml kafka : build : context : kafka dockerfile : Dockerfile links : - zookeeper:zk ports : - " 9092:9092" environment : KAFKA_ADVERTISED_HOST_NAME : $CF_HOST_IP KAFKA_ZOOKEEPER_CONNECT : zk:2181 KAFKA_MESSAGE_MAX_BYTES : 2000000 KAFKA_CREATE_TOPICS : " Topic1:1:1" volumes : - /var/run/docker.sock:/var/run/docker.sock depends_on : - zookeeper Kafka uses ZooKeeper so you need to first start a ZooKeeper server if you don’t already have oneĭocker-compose.yml zookeeper : image : wurstmeister/zookeeper ports : - " 2181:2181" Kafka Docker image August is the hottest month for Fawn Creek with an average high temperature of 91. Just head over to the example repository in GitHub and follow the instructions there. In Fawn Creek, there are 3 comfortable months with high temperatures in the range of 70-85°.
0 Comments
Leave a Reply. |